Skip to content

Unable to open a file becasue vscode says it's a directory #62251

@pvanek

Description

@pvanek
  • VSCode Version: 1.28.2
  • OS Version: MS Windows 10

Version: 1.28.2 (user setup)
Commit: 7f3ce96
Date: 2018-10-17T00:23:51.859Z
Electron: 2.0.9
Chrome: 61.0.3163.100
Node.js: 8.9.3
V8: 6.1.534.41
Architecture: x64

Steps to Reproduce:

  1. A language server provides a path to file
  2. User tries to go to to a class definition (Ctrl+mouse click)
  3. The exception is thrown from EditorGroupView::doHandleOpenEditorError() mostly probably. Unable to open 'c:\qore-0.9.0-git\share\qore-modules\0.9.0\RestClient.qm': File is a directory.

Which is not true. This is a really file. Tested with Windows Explorer, MSYS2 file.
Also the file can be opened using programming language scrips like Python, Qore, PERL...

The file has (IMHO) correct permissions: Read, Read & Execute, (-rw-r--r-- under MSYS)

Does this issue occur when all extensions are disabled?: Cannot test because this file is served/provided by an extension

qoretechnologies/qore-vscode#7

Metadata

Metadata

Assignees

No one assigned

    Labels

    info-neededIssue requires more information from poster

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions