liamcain / AutoFileName

Sublime Text plugin that autocompletes filenames
514 stars 78 forks source link

Bug in C++ Coding #82

Open Ir1d opened 9 years ago

Ir1d commented 9 years ago

I really enjoyed this plugin with sublime. But recently there happened to be something wrong. While typing printf("\n",),the moment i finish my ,,the code will be automatically changed into printf("n",). It's really annoying and causes a lot of trouble!

Adambean commented 9 years ago

+1

ghost commented 8 years ago

I've spent few minutes examining what causes it and found out it is caused by execution of "afn_delete_prefixed_slash" command, which is called at autofilename.py:166 which calls AfnDeletePrefixedSlash.run at autofilename.py:42. I found a quick solution: unpack the plugin and comment out autofilename.py:166 line.

Ir1d commented 8 years ago

@notnanocat Thanks for informing!