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
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
it works when I use require syntax, but it is not working in fs.write, fs.read etc.
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
this should help
thx. guess I have to use vscode then.