简体   繁体   English

HowTo:在.js文件中工作时,如何将“功能”默认为“功能”作为自动完成的第一个选项

[英]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.

相关问题 如何在JSP中实现机场自动完成功能? - How can I implement airport auto-complete function in JSP? 如何在 function 之后编码“(”时关闭 VS Code 上的 Intellisense 自动完成功能 - How to turn off the auto-complete of Intellisense on VS Code when coding '(' after function javascript-如何从自动完成功能获取onChange事件的完整值 - javascript - how to get complete value for onChange event from auto-complete function 使用此Google Maps API自动完成示例。 可以修改此功能以获取经度和纬度吗? - Using this google maps API auto-complete example. Can this function be modified get the longitude and latitude? 我如何将输入修剪到JQuery自动完成框? - How would I trim the input to a JQuery auto-complete box? Typescript 自动完成在 VSCode 中不起作用 - Typescript auto-complete not working in VSCode OpenCart自动完成CMS无法正常工作 - OpenCart Auto-complete CMS not working 自动完成关闭功能在Chrome中不起作用 - Auto-Complete Off is not working in Chrome Google Map自动完成功能不起作用 - Google Map Auto-complete not working 有没有办法在我的Eclipse-javascript操作系统中链接Xul javascript文件,它可以在我键入时显示自动完成功能? - Is there a way to link the Xul javascript files in my Eclipse-javascript os it can show the auto-complete while I'm typing?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM