Skip to content

"No symbols found in document" error in VS Code v1.67 with Modern Fortran v3.0.2022042917 #460

Closed
@rangsimanketkaew

Description

@rangsimanketkaew

Hi,

I had been using VS Code with Modern Fortran & fortls without any issues till today right before I upgraded the VS Code to the latest stable release v1.67. The issue I ran into is that the VS Code could not show the outline of the codes in the outline panel (see a snapshot below). --> "No symbols found in document"

Screenshot from 2022-05-06 14-16-10

I have tried disabling all extensions, reloading the windows, restarting the program, and even downgrading to VS Code 1.66 and v1.65v, but they didn't help. I also found this #154 and it seems that the issue I have is also from the VS Code, not Fortran extensions?

Below are the details of my environment setup:

Code snippets in my setting.json file:

  // Fortran
  "fortran.fortls.path": "fortls",
  "fortran.linter.extraArgs": ["-ffree-form"],
  "files.associations": {
    "*.F": "FortranFreeForm",
    "*.f": "FortranFreeForm"
  },

Any ideas to fix this issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions