]> gerrit.simantics Code Review - simantics/platform.git/commit
Not possible to open declaration of SCL module from relative path (F3)
authorJussi Koskela <jussi.koskela@semantum.fi>
Mon, 20 Mar 2017 13:04:31 +0000 (15:04 +0200)
committerjsimomaa <jani.simomaa@gmail.com>
Fri, 28 Apr 2017 13:21:39 +0000 (16:21 +0300)
commita0b204f20a677c8420ae76ac15f93b017b359ade
tree1ccafc412f9fc53a9100a1c9e63d2d6d23ef4496
parenta41db41cb9237704ebd985e03683c9214a070d78
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