GeoWerkstatt / vsc_interlis2_extension

Visual Studio Code language support for INTERLIS 2
MIT License
0 stars 1 forks source link

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

Open beistehen opened 2 years ago

beistehen commented 2 years ago

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:

olivergrimm commented 2 years ago

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

beistehen commented 2 years ago

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)?