
HI,
How to bind elements from language defintion to editor to get the intelliprompt
ex :
i want to read data from langauge defintion file and add into below funtion.
session.Items.Add(
HI,
How to bind elements from language defintion to editor to get the intelliprompt
ex :
i want to read data from langauge defintion file and add into below funtion.
session.Items.Add(
Hello, you can get the language from your completion provider's RequestSession method via view.SyntaxEditor.Document.Language. Then if you have info within a dynamic lexer there, you can do language.GetLexer() as DynamicLexer (make sure you import ActiproSoftware.Text namespace for that extension method) to get the dynamic lexer. Find the appropriate lexical state within it and look at the pattern groups within that to find the patterns you want.
Please log in to a validated account to post comments.