User:Max34/VDCEditor

From Valve Developer Community
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

VDCEditor is an 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:This extension was originally created for the Valve Developer Community, but it can be used on other MediaWiki-based projects

Download v0.1

Warning.pngWarning:This extension may be unstable because it’s still under development. By installing it, you agree that I (as the creator of this extension) am not responsible for any shortcomings. You also agree that you will install the unpacked extension yourself. This is necessary due to the fact that browsers can block packaged extensions installed not from their store.

Download link (Google Drive): https://drive.google.com/file/d/1nLlIZScqa4tEzEuQ6iepLcbCAM-eBFBs/view?usp=sharing

How to use the extension

Installing (chromium based browsers)

  1. Follow the link to install .zip archive
  2. After installation, you need to unpack the archive and you should have the following structure: the “VDCEditor” folder and inside it all the extension files
  3. Place the extension folder in any location you need on your computer
  4. Open your browser and open the chrome://extensions/
  5. You will have to find the "Developer Mode" switch and activate it
  6. After this, you should see a button “load unpacked extension”
  7. Click on this button and select the folder of this extension

When you are done, the VDCEditor extension marked as “unpacked extension” should appear in the list of extensions.

Installing (Firefox)

  1. Follow the link to install .zip archive
  2. After installation place the archive in any location you need on your computer
  3. Open Firefox and type about:config in the search bar
  4. You will see a warning message, and after clicking the button, an input field
  5. Enter axpinstall.signatures.required in this field. You need to switch it to the false state
  6. Now go to your extensions list (about:addons), click on the gear icon and select “Install add-on from file”
  7. Select a previously installed archive

When you're done, the VDCEditor extension with a warning that this extension is not verified should appear in the list of extensions.

Note.pngNote:If the extension does not launch on its own, click on the extensions button in the upper right corner of the browser while you are on VDC site and right-click on the VDCEditor icon. Select "Always allow on developer.valvesoftware.com".

Using the extension

  1. Go to any page that you can edit
  2. Click the Edit tab

Version Changelog

0.2

(In development)

0.1

(This version was just a test run)

  • Initial release