繁体   English   中英

IntelliJ IDEA 代码完成在 Node 应用程序中不起作用,因为 Java

[英]IntelliJ IDEA code completion not work in Node app as Java

我刚开始学习 Node.js,我更喜欢使用我使用了很长时间的相同 IDE (IntelliJ IDEA)。 但是,某些代码完成功能似乎不起作用。

例如:

在 java 中,当我编写类似System.out.println(getName())的内容并在 cursor (|) 位于System.out.println(getName()|)上时按分号时,它会在语句末尾添加分号。

However, when I write something in a node project on app.js file console.log(files) and press press semicolon when the cursor (|) is on `console.log(files|), it adds semicolon to the current cursor position而不是在语句的末尾。

那么,我怎样才能让 IntelliJ 在 Java 文件上表现得像它一样?

我尝试了屏幕截图中的一些设置,但没有进行任何发送:(

在此处输入图像描述

请投票支持WEB-54481以获知任何进展

暂无
暂无

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM