|
|
Re: Customize the inserted value from auto-complete from the proposed [message #1801599 is a reply to message #1801525] |
Wed, 23 January 2019 10:28 |
Eleanor Richie Messages: 125 Registered: August 2014 |
Senior Member |
|
|
In my language, I have packages where I can import them to be used by other rules. i.e.
PACKAGE pack:
GENERAL gen:
VARIABLE foo : string ;
VARIABLE foo2 : boolean ;
END GENERAL;
END PACKAGE;
// In the same file I can add something like this to use the above declared variables
USE pack.gen.*
FUNCTION func:
foo = "Assignment";
pack.gen.foo = "Still valid sytnax";
END FUNCTION;
In the previous function, I need to import all the variables in gen and to be able to write them as foo and by their fully qualified name pack.gen.foo . So, in order to make this, I created an importscope with all the variables and added a normalizer pack.gen to allow me to write them as foo. My problem is that in auto-complete, when I write pack.gen. and then make auto-complete, I still get another variables from another generals that I didnot import. Also, I need when I have the suggestion in the auto-complete pack.gen.foo, when I choose it, the inserted text to be just foo and not its fully qualified name (pack.gen.foo)
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04585 seconds