Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Go to Implementations' does not work when referenced models are in same line #26

Open
beistehen opened this issue Oct 26, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@beistehen
Copy link
Contributor

INTERLIS IMPORTS can be written in one line with the model names separated by commas, like

IMPORTS model_A,model_B,model_C,model_D;

With v0.1.6 I see the following behaviour:

  • when selecting the first model after the IMPORTS statement (model_A) the lookup is successful
  • when selecting one of the other models I get the 'No implementation found' hint
  • when deleting model_A, so that model_B is next to the IMPORTS statement the lookup of model_B is now successful
@olivergrimm
Copy link
Member

this is a known behaviour and currently not clear how to support this lookup onto the not first model in a line.

@olivergrimm olivergrimm added the enhancement New feature or request label Oct 26, 2022
@beistehen
Copy link
Contributor Author

This and #27 look quite similar to me. Like 'is this line starting with IMPORTS, then do the lookup using the selected text as model name' (and therefore ignore everything between IMPORTS and the selected text)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants