Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate closing tag #40

Closed
bardware opened this issue Mar 2, 2018 · 2 comments
Closed

Generate closing tag #40

bardware opened this issue Mar 2, 2018 · 2 comments

Comments

@bardware
Copy link

bardware commented Mar 2, 2018

Hi,

I worked on some code over the past days and uses code as editor. I noticed that very often I took an <cfif tag and copied it to another line in the code. Then I needed a closing tag and have no idea how to get it other than writing it myself. In cfeclipse I go to the end of the opening tag and position the cursor right in front of the > symbol. When I now press > a closing tag is generated which I can cut and paste at the position where I need it.
Does your plugin provide a similar functionality?

@ericyd
Copy link

ericyd commented Mar 22, 2018

I assume you're describing functionality similar to the way html files will auto-close tags when the tag is completed, something like this?
div-auto-close

If that's what you're trying to achieve, unfortunately this plugin will not do it. My understanding is that this would require a language server instead of just the snippets that this plugin provides. The proposal to add a language server to this plugin has been discussed in depth but as far as I know there is no real development being done on it.

@bardware
Copy link
Author

OK, thanks for the reply. I had no idea it might be complicated. Thanks for the pointer to the discussion regarding the language server.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants