[英]HowTo: How can I default “function” not “Function” as first option for auto-complete when working in .js files
Not sure when this started happening, but now my intellisense auto-completion is suggesting and using "Function (in DHtml.js, ...)" when I need it to be "function" while working in .js files. 不知道什么时候开始发生,但现在我的intellisense自动完成建议并使用“函数(在DHtml.js,...)”,当我需要在.js文件中工作时“功能”。
How do I configure this option? 如何配置此选项?
This appears to be fixed in the 8.2 EAP builds - http://youtrack.jetbrains.com/issue/RSRP-400812 (note that ticket says fixed in build 8.1.1000. That build isn't 8.1, and isn't available - it's been replaced by 8.2). 这似乎是在8.2 EAP版本中修复的 - http://youtrack.jetbrains.com/issue/RSRP-400812 (请注意,该版本在构建8.1.1000中已修复。该版本不是8.1,并且不可用 - 它已被8.2)取代。 Please can you try the EAP build and see if it fixes the problem?
请问您可以尝试EAP构建,看看它是否解决了问题? If not, please update the YouTrack ticket.
如果没有,请更新YouTrack票。
If you don't want to use the EAP build, I think you can work around the issue by clearing the solution's cache (ReSharper -> Options -> General -> Clear cache). 如果您不想使用EAP版本,我认为您可以通过清除解决方案的缓存(ReSharper - >选项 - >常规 - >清除缓存)来解决此问题。 As I understand it, the reason you're getting
Function
instead of function
is due to ReSharper tracking selected items and giving previously selected items preference. 根据我的理解,你获得
Function
而不是function
的原因是由于ReSharper跟踪所选项目并提供先前选择的项目首选项。 Clearing the cache clears the tracked values and should allow you to use function
again, but you might encounter the issue again at a later date. 清除缓存会清除跟踪的值,并允许您再次使用该
function
,但您可能会在以后再次遇到此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.