MPS 3.3.5 missing refactoring, intellisense

I am running MPS 3.3.5 build 143.1301 running on OS X El Capitan.  I just installed it and tried to run the robot_Kaja sample.  When I run the program in the sandbox the program works fine, but the projectional editor is missing several features, like intellisense, extract method, extract variable, etc.  When I type option-enter, shift-option-enter, or command-enter, intellisense doesn't appear at all.  When I right click on two or more statements (like the part in the tutorial where you refactor turnAround and turnLeft into a method), the only refactoring available is "Move Node".  What should I do to get these features?

3 comments

Hi Brad,

intellisense is context sensitive and the Robot sample only defines intentions for very specific cases. For example, when two identical commands follow one another, the second one is highlighted and a quick-fix is available under Option + Enter. Extract method or variable are specific to BaseLanguage, they will not work in the Robot language, since there are no methods nor variable in that language.

The issue with the Refactoring that you mention is a known issue - https://youtrack.jetbrains.com/issue/MPS-20839. Could you please add your vote for having this one fixed?

Regards,

Vaclav

 

0

Done.  In my opinion, there should be something in the YouTube introductory tutorial stating that this is no longer available.  It's a shame, as that's one of the best things about any of the JetBrains products.

0

I believe "surround with" on multiple nodes will be fixed in the coming version, since it is really annoying.

Vaclav

 

0

Please sign in to leave a comment.