Extension:VisualEditor/Plugin for source code editing (SyntaxHighlight GeSHi support)/Community bonding period

From MediaWiki.org
Jump to navigation Jump to search

Coding practices[edit]

Try to maintain the style of existing code.

  • Learn by reading through code.
  • Looking at modules that have been worked on recently. e.g. ve.ui

Aim to first make it work (might be messy and slow), then make it clean (refactoring so it's more reusable and easier to read), then make it fast (performance optimization where it's demonstrated to be necessary)

When in doubt, ask someone for an opinion, often discuss names for classes or variables, ask for advice on how to properly document things, etc.

Flowchart[edit]

Plugin diagram

UI mockup[edit]

Plugin UI VE