emmet icon indicating copy to clipboard operation
emmet copied to clipboard

Language server protocol support

Open rombert opened this issue 5 years ago • 4 comments

I was looking at Emmet these days and trying to find a way to integrate it into Eclipse. The most straightforward way seems to be to implement a Language Server Protocol implementation that can then be reused in multiple IDEs, including Eclipse.

The Language Server Protocol has a large list of supported tools - see https://microsoft.github.io/language-server-protocol/implementors/tools/ , and implementing it would potentially fix #215 as well.

rombert avatar Aug 26 '20 07:08 rombert

Yes, LSP would be the best solution here, but for now it requires too much effort for me to implement 😬 Might not have enough time for this

sergeche avatar Aug 26 '20 08:08 sergeche

https://github.com/windwp/emmet-ls Hi i fork a repo of another guy and try to fix some issue to create a lsp of emmet. how can i get a correct cursor position after emmet expand.

windwp avatar Mar 02 '21 15:03 windwp

Emmet produces snippets with caret placeholders, produced by output.field option. See https://github.com/emmetio/emmet/blob/master/src/config.ts#L157 for more info

sergeche avatar Mar 02 '21 15:03 sergeche

@sergeche Thank it work.

windwp avatar Mar 03 '21 08:03 windwp