Skip to content

Customization tips: allow rgrep to search properly for the symbols#1932

Open
vollcheck wants to merge 1 commit intojorgenschaefer:masterfrom
vollcheck:elpy-goto-definition-or-rgrep-fix
Open

Customization tips: allow rgrep to search properly for the symbols#1932
vollcheck wants to merge 1 commit intojorgenschaefer:masterfrom
vollcheck:elpy-goto-definition-or-rgrep-fix

Conversation

@vollcheck
Copy link

@vollcheck vollcheck commented Sep 1, 2021

PR Summary

This pull request aims to introduce proper mechanism of seeking for symbol in elpy mode while elpy-goto-definition fails at finding given symbol.

rgrep although works properly in cases like:

class Dog(Animal):
    ...

but fails at:

class Dog:
    ...

where class has no parentheses after its name definition.

PR checklist

Please make sure that the following things have been addressed (and check the relevant checkboxes):

  • Commits respect our guidelines
  • Tests are passing properly (see here on how to run Elpy's tests)

This commit aims to introduce proper mechanism of seeking for symbol
in `elpy` mode while `elpy-goto-definition` fails at finding given
symbol.

`rgrep` although works properly in cases like:

```
class Dog(Animal):
    ...
```

but fails at:

```
class Dog:
    ...
```

where class has no parentheses after its name definition.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant