srusskih / SublimeJEDI

awesome Python autocompletion with SublimeText
MIT License
938 stars 109 forks source link

Go to function definition create new empty tab named "None" #285

Open kkew3 opened 5 years ago

kkew3 commented 5 years ago

Hi. I'm not sure whether this behavior is intended or not:

I create a new unsaved python file in Sublime text, define a function, call that function somewhere, move the caret to the function name, invoke "Go to definition" (Ctrl + Shift + G). Sublime text will create an empty file named None. In fact, it's not essentially "empty", as when I tried to close it, Sublime text asks me whether or not I want to save it; Sublime won't ask me to save an empty file.

I also make a gif to illustrate the behavior:

ezgif com-crop

Thanks