JavaScript Enhancements is a plugin for Sublime Text 3.
People
Repo info
Activity
Lorenzo Pichilli
@pichillilorenzo
I will try it and if it is successful I will update the plugin
Tristan Michael Lawrence
@tr1s
It won't effect my zsh workflow?
Lorenzo Pichilli
@pichillilorenzo
nope
don't worry
Tristan Michael Lawrence
@tr1s
Okay
Lorenzo Pichilli
@pichillilorenzo
it is only on my plugin
because I execute node -v in zsh shell, in your specific case
Tristan Michael Lawrence
@tr1s
So when you fix, will I have to re-install, or will the plugin update automatically?
yeah
when I do that I get 9.4.0
Lorenzo Pichilli
@pichillilorenzo
It will update automatically, but you will need to wait just some time for Package Control update
However the problem is exactly: shell = os.getenv('SHELL')
Tristan Michael Lawrence
@tr1s
So I'm pretty sure it see's my path
Lorenzo Pichilli
@pichillilorenzo
on my code
Tristan Michael Lawrence
@tr1s
Hmm okay
Lorenzo Pichilli
@pichillilorenzo
with os.getenv('SHELL') I get your default shell, that in your case is zsh shell
Tristan Michael Lawrence
@tr1s
Can I ask why I can still see completions even though I get the pop-up? The first time I had the problem it didn't work at all
Nice ok
Lorenzo Pichilli
@pichillilorenzo
lol don't know why it is working
Tristan Michael Lawrence
@tr1s
I usually just text by typing document. and see the options
Lorenzo Pichilli
@pichillilorenzo
however I'm going to update it soon
Tristan Michael Lawrence
@tr1s
I can only assume it's coming from JSEnhancemnts
Alrighty!
Lorenzo Pichilli
@pichillilorenzo
ok.. quite strange, but ok ahahaha
thanks!
Tristan Michael Lawrence
@tr1s
Lorenzo Pichilli
@pichillilorenzo
yep! it is
Tristan Michael Lawrence
@tr1s
🤷🏽♂️
Lorenzo Pichilli
@pichillilorenzo
really don't know why!
lol
Tristan Michael Lawrence
@tr1s
Oh well not complaining, would just love for the pop-up to go away hah. I'll be patient thanks!
Lorenzo Pichilli
@pichillilorenzo
ahaha yes!
Lorenzo Pichilli
@pichillilorenzo
@tr1s ok I think I corrected it, but before I publish it I will correct also issue #24
Tristan Michael Lawrence
@tr1s
Kk!
Lorenzo Pichilli
@pichillilorenzo
@tr1s I updated it :+1:
Tristan Michael Lawrence
@tr1s
Hey! Still getting the pop-up
The plugin updated and I restarted a few times now
@pichillilorenzo
Lorenzo Pichilli
@pichillilorenzo
@tr1s did you restart the plugin after the update?
Sublime Text I mean
Can I see your plugin config file?
M Arafat
@alo0oz
i am using sublime text in windows and linux, and syncing my settings via dropbox. now the problem is, i first configured JS enhancements in my windows machine
M Arafat
@alo0oz
Sorry, the problem is gone with a "npm install" in the package folder as instructed by the package
Lorenzo Pichilli
@pichillilorenzo
@alo0oz I advice you to use different settings per OS, at least for my plugin, because if you need to change for example the node path, it will affect Windows and Linux, which have different path obviously.. so in your case the problem on Linux could be caused by defining a different path for npm that works on Windows but not on Linux
Programedia
@programedia
Hi, awesome plugin! Is there any way to add the auto completions of native JS functions to a .vue file? It works perfectly in .js files but in .vue I get nothing. I already have a project and I just want to use the completions to speed up writing the native JS stuff.