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

HTML Element completion and in/out-dent not working properly #23

Closed
WebVeteran opened this issue Oct 11, 2018 · 2 comments
Closed

HTML Element completion and in/out-dent not working properly #23

WebVeteran opened this issue Oct 11, 2018 · 2 comments

Comments

@WebVeteran
Copy link

Tag completions and auto indent and outdent don't work properly.

I've quadruple checked all the settings:

  • HTML
  • Cfml
  • Auto-close-tag

Still the functionality is not what is to be expected. I used simple HTML tags here to demnstrate - in both CFM and HTML files. The HTML file works correctly.

See attached zipped MP4.

tags.mp4.zip

@WebVeteran WebVeteran changed the title Tag completion and in/out-dent not working properly HTML Element completion and in/out-dent not working properly Oct 11, 2018
@KamasamaK
Copy link
Owner

HTML settings would not affect this if you have the language for the file is set to CFML. Regarding your video, it was very helpful. Here are my responses:

  1. Adding a tag should
    a. Auto-close on <\: Auto-closing is exclusively handled by the extension auto-close-tag. The only thing this extension does is modify the configuration for you to exclude certain tags. I believe the setting for this is "auto-close-tag.SublimeText3Mode": true as indicated in its README. If you are having an issue with that setting, you should open an issue in that extension's repository.
    b. Auto-indent the next line when hitting return: It should work like this in v0.5.0+
  2. Modifying a tag should
    a. Not duplicate the tag. Again, this is handled by the auto-close-tag extension.
    b. Auto-indent the next line when hitting return: See 1.b.
  3. Re-indent should not indent head and body: I'm not sure how that command works. Also, I don't know why they would not be indented. This does not seem like something worth looking into.

@WebVeteran
Copy link
Author

1a. It works.
1b. It works.

2a. It works.
2b. It works, but there is a related issues. I'll see if it's posted already and if not will create.

  1. Certainly not a deal breaker. But it's a nice option - saves you two indentations of horizontal space when re-indenting.

Again - awesome work. Thank you. I'll have to now consider moving form ST3 to VSC!

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

No branches or pull requests

2 participants