-
-
Notifications
You must be signed in to change notification settings - Fork 41
Closed
Description
When I used the key shortcut Shift+Alt+F or clicked 'Format Document' from right-click menu, the extension prompted 'Installing findent.exe through pip with --user option'. After I selected 'install' option, nothing happens, the formatter is still not working.
The output from the terminal is
["INFO" - 00:23:51] Formatter located in: C:\\Users\\dude\\AppData\\Roaming\\Python\\bin\\findent.exe
["WARN" - 00:23:51] Formatter: findent.exe not detected in your system.
Attempting to install now.
After choose 'install', the output gives
["INFO" - 00:23:56] pip install --user --upgrade findent.exe:
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
["INFO" - 00:23:56] pip install was successful
I did install the findent using pip with or without --user option, and I changed the path in settings ending with or without .exe. But they did not help. I wonder where did I set wrong. Thanks.
The relating settings are
"fortran.fortls.path": "D:\\\\ProgramFiles\\\\python3_9\\\\Scripts\\\\fortls.exe",
"fortran.formatting.path": "C:\\\\Users\\\\1014h\\\\AppData\\\\Roaming\\\\Python\\\\bin\\\\findent.exe"
Metadata
Metadata
Assignees
Labels
No labels