You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.
I don't have Rome installed separately from the extension.
In a project configured with Rome
Create a new file
Add code to the file and set the language to Typescript or JS
Attempt to format the file with Rome
The Rome Trace doesn't even see the attempt at running the formatter either.
Expected result
Rome should be able to format new files in VSCode. Even if that's the default because there's no approach to get access to the rome.json associated due to the lack of file paths.
Code of Conduct
I agree to follow Rome's Code of Conduct
The text was updated successfully, but these errors were encountered:
Some technical information about this: at the moment the extension only activates on documents with the file:// scheme because we rely on the name of the file (and more specifically its extension) to determine the file type. In order to support files that do not have a path on disk yet, we'd need to provide an explicit file type to the workspace (probably derived from the language mode of the editor if we can access it over the LSP)
Environment information
What happened?
I don't have Rome installed separately from the extension.
The Rome Trace doesn't even see the attempt at running the formatter either.
Expected result
Rome should be able to format new files in VSCode. Even if that's the default because there's no approach to get access to the
rome.json
associated due to the lack of file paths.Code of Conduct
The text was updated successfully, but these errors were encountered: