]> gerrit.simantics Code Review - simantics/platform.git/commit
Not possible to open declaration of SCL module from relative path (F3) 73/373/2
authorJussi Koskela <jussi.koskela@semantum.fi>
Mon, 20 Mar 2017 13:04:31 +0000 (15:04 +0200)
committerHannu Niemistö <hannu.niemisto@semantum.fi>
Tue, 21 Mar 2017 08:19:05 +0000 (10:19 +0200)
commit694f0acd465f9428c37500a5f56ac783b3aaf506
treeb1e1d17a3ef7de644405b43a411ea3d6f8db7c0f
parent702195f31e8e94fc0e18172046b644723b0e9ea8
Not possible to open declaration of SCL module from relative path (F3)

Resolve absolute path of SCL module when user presses F3 on
import/include that uses relative path. Refactored absolute path
resolving to static utility function.

refs #7101

Change-Id: I21cadedd6b8baf9ec4d7fae25cd4a0135836a439
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/compilation/Elaboration.java
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/module/InvalidModulePathException.java [new file with mode: 0644]
bundles/org.simantics.scl.compiler/src/org/simantics/scl/compiler/module/ModuleUtils.java [new file with mode: 0644]
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor/completion/SCLTextEditorEnvironment.java
bundles/org.simantics.scl.ui/src/org/simantics/scl/ui/editor2/OpenDeclaration.java