Skip to content
This repository has been archived by the owner on May 17, 2024. It is now read-only.

akshay-zz/Intellisense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Intellisense

Provide suggestion for Monaco editor

It creates a suggestion javascript object (string) for Monaco editor. Need to evaluate this string and pass it as a suggestion object to maonco editor. Right now it only supports Csharp IntelliSense. This project is created over .NET-Fiddle-Intelligent-Completion[https://github.com/ericpopivker/.NET-Fiddle-Intelligent-Completion]

Run the project. Then the server will get start on a particular port. We need to consume endpoint GetAutoCompletion

To get suggestion on the basis of cursor position
GetAutoCompletion (POST)
Json Body
{ "RawCode": "using", "Language":"Csharp", "Pos": "5" }

GetBasicAutoCompletion [POST]
To get basic fixed sugesstion, independent of cursor position. Json Body
{ "Language":"Csharp" }

A small demo has been added to the project in the home directory. Run the monacoEditorPlain in browser. This particular demo show suggestion when you type . in the editor on the basis of cursor position.

About

Provide suggestion for monaco editor

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published