1
0
mirror of https://github.com/ONLYOFFICE/docspace-plugins.git synced 2026-10-23 16:08:54 +03:00
Files
2026-10-09 14:28:11 +03:00
..
2025-07-24 14:41:56 +07:00
2026-10-09 14:28:11 +03:00
2025-10-27 10:38:33 +00:00
2026-10-09 14:28:11 +03:00

Overview

View and edit files with various programming code formats.

How to configure

To start working with the plugin, it is not needed to change the default settings.

In case you want to adjust the plugin settings, go to Settings -> Integration -> Plugins and click on the gear symbol next to the Codemirror plugin.

You can customize the highlighting of spaces and enable the auto-closing of HTML tags to suit your preferences.

How to use

Creating a new file

  • Navigate to the Action button and select the More menu, either in the My Documents section or within a chosen room.
  • Choose the Text File option. A pop-up will appear prompting you to enter a file name. Be sure to include the appropriate format, such as style.css, script.js, etc.
  • Click the Create button to open the Codemirror code editor in a new pop-up window. Here, you can edit the file's content.
  • To save your changes, click the Save button. To close the editor, click the X icon in the upper-right corner of the pop-up.

The newly created file will then appear in the file list.

Editing files

You can open previously created or downloaded files using the Codemirror plugin. Simply click on the file name with the Codemirror icon, or right-click to open the context menu and select Edit File with Codemirror.

Supported languages

  • C (cpp, cc, h, hpp)
  • CSS
  • Go
  • HTML / HTM
  • JAVA (java, class)
  • JavaScript / TypeScript (js, jsx, ts, tsx)
  • JSON
  • Liquid
  • PHP
  • Python
  • Rust
  • SCSS (sass, scss)
  • SQL (sql, mysql, pgsql, postgresql, sqlite, db, mssql, cql, plsql, mariadb)
  • WAST
  • YAML

User feedback and support

To ask questions and share feedback, use Issues in this repository. Alternatively, you can contact ONLYOFFICE team via community.onlyoffice.com or feedback.onlyoffice.com.