-
-
Notifications
You must be signed in to change notification settings - Fork 35
"No symbols found in document" using vscode 1.41.0 #154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hello there, can you provide some example of implementation in which this happens ? If you can't send me the file, I recommend you to create a empty Fortran module and start inserting the subroutine declarations of your file in it (they can be empty, the file doesn't need to compile)... When you create the new file the symbols are supposed to be working.. by inserting your symbols into the new file you can see when the problem starts to happen, and that is what i need to reproduce it! Thanks |
I have attached a screenshot. The file opened is here https://github.com/cpraveen/numpde/blob/master/euler1d/fortran/euler_fo.F90 I have seen this on two different machine. I had an older version of vscode/extension on one computer and the symbols were showing. I updated today morning and the symbols are not showing up. |
I disabled all other extensions and restarted vscode but that did not help. |
Well .. Maybe VSCode changed base stuff in this new version ... Mine still 1.38.1, and this one still work. Also change this issue title for something like: Symbols not working in version x.xx.x |
@ReDD11 Like I said before, it's likely that VSCode changed the usage of some module that involves symbols. It should be simple to fix but I don't have the time right now. |
Hi, I have the same problem. |
I managed to fix it in #161, It will be merged soon. |
### Check List - Highlight - [x] `select` keyword - *Merge #165 to fix #149* - [x] `rank` keyword - *Merge #165* - [x] `forall` keyword - *Merge #170 to fix #169* - Symbol List - [x] Symbols bug in VSCode +1.40 - *Merge #161 to fix #154* - [x] Symbols classification - *Merge #141 to fix #140* - [x] Long named symbols - *Merge #151* - Settings - [x] Add more options - *Merge #152* - Dependencies - [x] Merge `dependabot` PR's - [x] lodash - *Merge #144* - [x] mixin-deep - *Merge #146* - [x] handlebars - *Merge #155* - Code Completion - [x] Array constructor - *Fix #148* - New Features - [x] Breakpoints - *Merge #150*
Hello. Sorry to bother but the error is still there in version VS Code v1.70 and modern-fortran v3.2.0. Is there a workaround? |
So symbols are working as expected. There are tests for this both in vscode and the language server. There can be many reasons why they are not showing but for us to be able to help you will have to provide enough info to replicate the issue. Please open a Q&A Discussion with your - modern Fortran vscode settings
|
When I open a fortran file, it does not show any symbols (function/subroutine) in the "Outline" portion on the left of the gui. This used to work for me but seems to have stopped sometime.
I have also added
in my settings.json file.
I am on Mac OSX Catalina with vscode version 1.41.0
The text was updated successfully, but these errors were encountered: