Replies: 2 comments 5 replies
-
|
In my AS I always define my custom editor which knows all about the source code,... and leave internal viewer for a backup in case something freezes and I can do a simple view on the file. Also OS already has options to setup alternative viewers or even write a plugin. We could of course work on additional code knowing internal viewer, but let us not push some heavy viewer that loads slowly to all users just because 5% of the users are coders. Anyway just a side note.. internal viewer always crashes when viewing a csv file. :) .. so it will need at least some loving. |
Beta Was this translation helpful? Give feedback.
-
|
https://github.com/KRtkovo-eu-AI/salamander/tree/plugins_darkmode/src/plugins/textviewer PrismSharp Text Viewer .NET Supported File TypesThe viewer focuses on human-readable text content and syntax-highlighted source files. Extensions are matched case-insensitively. Common text and configuration formats
Prism syntax highlighting identifiersThe viewer also registers PrismSharp lexers so matching file extensions open in this viewer. The supported identifiers are:
|
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
So I press F3 on a lot of files like
Java,TypeScript,XML,JSON,YMLetc and the regular internal viewer is fine and fast for most of it but it would be awesome to have a new Viewer plugin that was a source code viewer and used a library like this.Colorer (C++ Library): https://github.com/colorer/Colorer-library
PrismJs (Javascript): https://prismjs.com/
Beta Was this translation helpful? Give feedback.
All reactions