thousandtyone / autoend

The Visual Studio Code Extension to Automatically move Semi Colons to the end of the line.
GNU General Public License v2.0
4 stars 4 forks source link

Changing file type swallows the semicolons #6

Open s-maheshbabu opened 6 years ago

s-maheshbabu commented 6 years ago

I ran into this problem as I was conducting interviews.

  1. Create a file names interviews.java
  2. Write some code. Everything works fine.
  3. Rename the file to interviews.cpp (because this candidate wants to write code in C++).
  4. Semicolons don't show up anymore. It is not about autoend not working but I just can't type a semicolon at all.

Restarting VSCode makes it work again.

OS X El Captain Version 10.11.6 VSCode Version 1.24.0 (1.24.0)

CodeBrauer commented 4 years ago

For me this bug also occurs, if I disable/enable a extension. I can't type a semicolon globally in VSCode

jandor64 commented 4 years ago

I'm seeing this at random while switching between files, requires restart of VSCode. If anyone has found another extension I would appreciate it, trying to mimic the behavior I'm used to in Sublime.

thousandtyone commented 4 years ago

Looks like this one got missed in the emails. Let's take a quick look based on the steps @s-maheshbabu provided and try and fix this as soon as possible. I'll start working on fixing this. This might take a week or so. Sorry about the delayed response.

FatehAK commented 3 years ago

@thousandtyone I tried it in one SCSS file and when I quickly switched to another file I'm unable to type the semicolon at all. A VS code restart fixes it.

Amuenster commented 3 years ago

@thousandtyone I have the same problem as FatehAK and jandor64, I think. I am typing up javascript and have to check the html file for stuff, but I can no longer type a semicolon when I go back - unless I reset VS code. However, it does still create/go to a newline for me.