Closed zineddine999 closed 10 months ago
Hi @zineddine999 , the F6
keybind that comes packaged with this extension assumes you have the nastran
executable on your system path variable. I will update the README.md
to state this explicitly. i.e. you need to be able to open any command window and execute nastran -v
successfully. If you update your system path to include the path to your nastran
executable, it should work. For reference, the path to my 2021.4 nastran executable looks like this:
C:\appl\MSC\Nastran\20214\bin
For what it's worth, you can also overwrite the F6
keybind by editing your keybindings.json
file to do whatever you want. See here for vscode documentation on custom keybinds. See here for a helpful reference on vscode variables. Using this as a guide, adding something like this could do something similar and would overwrite the F6
keybind:
{
"key": "F6",
"command": "workbench.action.terminal.sendSequence",
"args": {
"text": "C:/PATH/TO/NASTRAN/nastran ${file}\u000D"
}
}
@zineddine999 Can you confirm this solution works for you? If not, can you provide more information on your issue?
Oh sorry, it works. Thank you
Hello i want to change the command excute i have this issue :
How can i change the code of this command ? thanks