html - sumlime text3代码自动补全功能问题!
ringa_lee
ringa_lee 2017-04-17 14:48:16
0
2
687

sumlime text3代码自动补全功能问题!
比如我写html5的canvas方法,用图说明吧:

我输入li就出现代码补全,但是一点击进去它就把ctx这个也补全了,但是很多时候我的命名不是ctx,那就很麻烦,每次我还要去清除ctx,如果我先输入了一个变量名.li,然后它这个代码补全,补全完后就是,“变量名.ctx.lineCap”,就是没研究透sumlime这个东西,我想直接像其他工具那样输入变量名.,就出现各种方法,然后点击就是变量名.方法名,这样了吗?是设置没对吗?

ringa_lee
ringa_lee

ringa_lee

reply all(2)
Peter_Zhu

Since I started using sublime, I have gradually stopped using the code prompt function. Some of the things prompted are redundant and I have to go back and delete them.

Sublime’s variables and file indexes are not as powerful as webstorm, so choosing sublime usually depends on its startup speed and response speed

I now use sublime to improve my coding skills, and I can remember many function names

左手右手慢动作

Did you select the first one as the input result? This has been prompted to be a {prop}, that is, an attribute. Selecting this will automatically attach the variable with this attribute. Aren’t there multiple groups to choose from? Choose something else.
And that one

But many times my name is not ctx, which is very troublesome. Every time I have to clear ctx

Don’t worry about this, whether it is ctx, cxt, xtc or others, sublime will match it intelligently.

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!