javascript - Atom wrong autocomplete
问题描述
Been using atom a lot but have started getting this annoying autocomplete issue today, in javascript when I do a promise like following, it tries to autocomplete when i just want a new line.
Example:
var promise = proCol.orderBy('order').get().then(query => {$sceDelegate})
I don't think I have ever use $sceDelegate
before
Seems to be when I type => {}
it does to complete it when I always want a new line and not some odd variables it thinks I want. Finding it extremely annoying to when I am coding all day and this happens very often.
If anyone could help me out I would it would be amazing
解决方案
I get the same thing. It was from a recent package that I installed called Angularjs. $sceDelegate is Angular so I disabled the package for now and now it doesn't annoy me either. Check to see if you have an AngularJS package installed.
推荐阅读
- javascript - chrome.tabs.query 不返回当前选项卡 URL 作为匹配项?
- node.js - 允许使用 util.inspect / console.log 控制字符
- reactjs - 胜利图表 x 轴刻度不适用于日期
- javascript - 在任何 DOM 元素上触发没有用户操作的文件输入字段
- ios - 如何将 Swift 中的文本格式化到底部?
- java - 为什么要重置连接?
- sql - SQL换字命令
- variables - 将活动单元格的值复制到不同/非活动工作表 - 如何确定要使用的目标/目标工作表
- python - if condition does not executed in python after reading values from text file
- c# - IronPython 2.7.8 中的 VISBRAIN