Skip to content

Common Issues

David Mueller edited this page Feb 23, 2024 · 9 revisions

Common configuration issues

Issue Workaround
On Windows, VS Code might default to using the bash shell profile for the terminal, which can cause Liberty Start and other Liberty actions to fail: Liberty dev mode command not found Remove the following setting from the settings.json file: "terminal.integrated.shell.windows": "[path to bash shell]". Removing this setting enables the terminals in VS Code to run with Windows PowerShell or Command Prompt and allows the Liberty Dashboard actions to run.
On Windows, VS Code might default to using the PowerShell profile for the terminal. If permissions are not set up correctly with PowerShell, permission issues can occur when you try to run Liberty actions, as shown in the following example:image Change the launch profile of the terminal from PowerShell to Command Prompt. You can make the change on a per-terminal instance, or you can change the Default Profile as shown in the following screen shot:image
Completion suggestions are sometimes missing for Liberty features in the server.xml file. Suggestions that begin with an 'abc' tag are not valid feature suggestions.No Liberty feature completion suggestions To resolve this error, disable the 'abc' tag IntelliSense suggestion in VS Code, either by using the Settings menu or by editing the settings.json file. To disable the tag from the settings menu, click File > Preferences > Settings and type show words in the search box at the beginning of the menu. Then, uncheck the Editor > Suggest: Show Words setting. Alternatively, add the following code to the settings.json file: "editor.suggest.showWords": false.
Clone this wiki locally