Make analyzable file types customizable
See original GitHub issueA plugin in the analysis server could support analysis results for file types that are neither Dart or HTML. For these files, DartCode wouldn’t send analysis requests to the analysis server because the file ending is not matched by isAnalyzable
:
https://github.com/Dart-Code/Dart-Code/blob/2ca8e876bd6080f856cbe6dc412a5ba37ac1bfbc/src/extension/utils.ts#L130-L134
Is there a reason not all files in the current workspace are marked analyzable? If there is, it would be amazing if we could make the analyzable file endings customizable. Then, plugins that support custom file endings could instruct users to mark the respective file ending as analyzable.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (9 by maintainers)
Top Results From Across the Web
Custom file types (TMS) - Phrase
Custom file types based on XML, TXT, HTML or JSON that are defined by filename and extension can be automatically detected and imported....
Read more >Data Acquisition for Beginners — The Kit 1.0 documentation
This introduction includes descriptions of common file types, methods for gathering data, and a how-to guide on converting your data into a format...
Read more >Narrowing the focus with analysis scope
A directory in the list means that all analyzable files and directories recursively below it are included. An individual file in the list...
Read more >Creating a Custom Known File Type for R-Studio
1. Open the files in the hexadecimal editor built into R-Studio. To do so, right-click the files and choose View/Edit in the shortcut...
Read more >SUGI 28: Developing SAS(r) Ready Analyzable Data Systems
management, and analysis at the CDC. This Java. Web application can make it easier for investigators to collect data in analyzable SAS format....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’ve added this new setting, which is an array of file extensions:
The current languages use the language ID, but I wasn’t sure if VS Code would assign them to unknown files, so this one uses the extensions (as returned by Node’s
path.extname
with the dot stripped off the front).Thanks for the info! For now, I think a user-supplied list probably makes the most sense - it’s the least risky if something is wrong because the user can easily turn it on/off without needing new releases.