Skip to content

Completing the intellisense-enabled scripting experience #425

Discussion options

You must be logged in to vote

Short term, I think you can get the IntelliSense you’re asking for by adding a reference to TabularEditor.exe (TE2).

  • Selected is an object of type TabularEditor.UI.UITreeSelection.
  • The global methods (Info, Output, etc.) are defined here, so adding using TabularEditor.Scripting; should at least allow you to use the extension methods. You can’t refer the methods directly (that is, without qualifying them with ScriptHelper or without using them as extension methods). This is only possible when the script is executed in TE because TE has a precompiler that transforms the script before sending it to the C# compiler, i.e. transforming Info("Hello World"); to ScriptHelper.Info("Hello World");.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@samaguire
Comment options

@samaguire
Comment options

@otykier
Comment options

Answer selected by bernatagulloesbrina
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants