Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Error resolving untitled html- en js-documents #7281

@MomoPZ

Description

@MomoPZ

Encountered the following while working on a template extension:
As soon as I add 'html' or 'js' as file-extension to DocumentManager.createUntitledDocument(counter, fileExt) an error from the ScopeManager is written to the console: "Error resolving /bracketsrandomFileNumber"
If you pass an empty or different string as file-extension no errors occurs.
The error seems to be caused by code hints as mentioned in a comment here: #4368 (comment)
Besides the error message it seems to work fine. So probably it's not a big deal.

Full error:
Error resolving /_brackets_31559423/ ScopeManager.js:1071
(anonymous function) ScopeManager.js:1071
(anonymous function) /filesystem/FileSystem.js:594
(anonymous function) /filesystem/impls/appshell/AppshellFileSystem.js:210
(anonymous function) appshell:273

(Issue emcountered at sprint 36 and 37, OS Linux)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions