Autocomplete doesn't add a file extention Follow
Hello!
When I try to add some js-file import, WebStorm doesn't add the ".js" or ".jsx" extention at the end of string.
Somewhen I found a solution on StackOverflow, smth like to use "Find Action" menu and change some checkbox. But now I can't find this solution and can't configure this parameter.
Does some way exist for this? Thanks!
Please sign in to leave a comment.
To complete imported filename with extension, set registry key
commonjs.complete.required.filename.with.extension
totrue
:commonjs.complete.required.filename.with.extension
there, tick the checkboxThank you very much!
Добрый день!
Пытаюсь повторить вашу инструкцию - не находит такой раздел в настройках
WebStorm 2017.2.5
Build #WS-172.4343.25, built on October 20, 2017
Subscription is active until May 11, 2018
JRE: 1.8.0_152-release-915-b12 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Windows Server 2008 R2 6.1
Здравствуйте!
он там определенно есть:
Подскажите пожалуйста, как вы открыли диалог Registry
Из меню Help > Find Action (Ctrl+Shift+A), там ввести сначала Registry..., а потом уже, в открывшемся окне, найти чекбокс
Как написано выше:
Вы в "Help | Find Action..." ищете непосредственно ключ, а надо искать Registry и уже в нем искать
Спасибо - пропустил пункт с поиском реестра )