User:Max34/VDCEditor

From Valve Developer Community
< User:Max34
Revision as of 11:55, 31 May 2024 by Max34 (talk | contribs)
Jump to navigation Jump to search

VDCEditor is an upcoming chromium extension that will change the edit field from a regular flat textarea into a full-fledged code editor with syntax highlighting, line numbering and much more.

Note.pngNote:You can suggest your ideas for expansion on the talk page.

Development progress

Make the first edit using the new editor

Change the style of the entire editor to the dark version

☐ Figure out how to implement the correct automatic loading of the script. Right now you have to click on a button to run the script, because loading it automatically will cause it to load before the page is fully loaded, which cuts off access to a lot of things that need to be changed

Add line numbering

Add Word Wrap setting

☐ Add code font size setting

☐ Make a status bar

Make editor height saveable

☐ Add an indicator of the number of characters in the code

☐ Add a carriage location indicator

Add highlighting of MediaWiki magic words

☐ Add highlighting to &#999; elements

Add highlighting for mnemonics (not all mnemonics have been added. Need a complete list of mnemonics working on this site)

Add highlighting to HTML elements

☐ Add highlighting to inline CSS

☐ Add highlighting to MediaWiki elements (hardest one)

☐ Implement the loading of translations directly from the VDC so that users can translate the extension directly from the site

☐ Implement the loading of brief documentation of templates when hovering over them with the mouse with Ctrl pressed

☐ Implement a color square next to each color (as in F12)

Add attributes to disable unwanted actions with the editor (translate="no", spellcheck="false", autocorrect="off", autocapitalize="off")

Add scrolling below content until only the last line is shown

Add highlighting to parts of code similar to the part that was selected

☐ Add a setting to display control characters

Add an icon and extension name to the top left corner of the editor to make it look like a separate application


(For copying: ☐ )