1tontech / bootstrap4-snippets

Visual studio extension & Intellij plugin for Bootstrap 4, Font awesome 4, Font Awesome 5 Free & Pro snippets/live templates
MIT License
117 stars 43 forks source link

tab is broken in php after enabling bootstrap4-snippets #2

Open wuboy0307 opened 5 years ago

wuboy0307 commented 5 years ago

Tab is broken in PHP file when I installed bootstrap4-snippets. I try to disable the plugin, and tab is back. Enabling the plugin again, tab is broken. I am pretty sure tab is broke by the plugin.

You can see someone mention here. https://stackoverflow.com/questions/24726571/tab-and-enter-key-do-not-work-anymore-in-the-webstorm-editor-while-typing

It seems that the bug exists for a long time since it's still bootstrap3-snippets.

thekalinga commented 5 years ago

@wuboy0307 This plugin & bootstrap 3 plugin have very little in common. I am attempting to reproduce this issue in my Intellij (I dont have Webstorm) & not able to reproduce

Not sure how to reproduce it tho

sdlins commented 4 years ago

Hi, @thekalinga,

Indentation in html (at least in .php pages) are broken too:

// I type this
<div id="x">
    <div id="y">
        <h1>Some Title</h1>
        </div     // when I type the last `>` to finish this tag...

// that tag is indentated to here, start of the line, as it was closing the `div#x`, 
// not the `#y`:
</div>

// It should be here, properly indentated:
    </div>

See similar case: https://github.com/Microsoft/vscode/issues/47889#issue-314378008

sdlins commented 4 years ago

@thekalinga , please, disregard my previows comment. I think other extension was conflicting with this. I reenabled this extension but I cant reproduce the problem I cited anymore.