You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am planning to use lexical to write a small code input with some highlighting, autocomplete and other features. For the actual code parsing I do have a tree-sitter implemented for the language.
From the docs it is not entirely clear for me how to approach this with lexical. I've read through docs and examples and it doesn't seem to me that transformers used in emoticon example would work for me.
I understand that my description is very vague. However it's for a reason: I don't have yet an exact problem with some code. First of all I need to understand how do I start.
Can someone help me understand which lexical APIs I should be using? Give some small pseudo-code maybe? I'd be happy to take it from there and explore by myself.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello everyone!
I am planning to use
lexical
to write a small code input with some highlighting, autocomplete and other features. For the actual code parsing I do have a tree-sitter implemented for the language.From the docs it is not entirely clear for me how to approach this with lexical. I've read through docs and examples and it doesn't seem to me that transformers used in emoticon example would work for me.
I understand that my description is very vague. However it's for a reason: I don't have yet an exact problem with some code. First of all I need to understand how do I start.
Can someone help me understand which lexical APIs I should be using? Give some small pseudo-code maybe? I'd be happy to take it from there and explore by myself.
Beta Was this translation helpful? Give feedback.
All reactions