intelligence path not working

hi, why there is no path suggestion in webstorm?  Like vscode type / it will suggest a path.

4 comments
Comment actions Permalink

works for me

does the issue occur on editing import statements, or? What file is it (js, ts, html, ...)? Please share code snippets illustrating the issue

0
Comment actions Permalink

it works when I use require syntax, but it is not working in fs.write, fs.read etc.

0
Comment actions Permalink

This would require treating this method in a special way (like it's done for require() calls, for example). This feature is not currently supported, please vote for https://youtrack.jetbrains.com/issue/WEB-28574 if you miss it.

For now, I can only suggest injecting File reference language into function argument, like

// language=file-reference
  fs.readFile('./');

this should help

0
Comment actions Permalink

thx. guess I have to use vscode then. 

-2

Please sign in to leave a comment.