Skip to content

Cannot Disable Auto-Closing of HTML Tags with Default Syntax Highlighting #1945

@lalalasupa0

Description

@lalalasupa0

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

When editing a file with the default HTML syntax highlighting enabled, typing an opening HTML tag (e.g., <p>) automatically inserts its corresponding closing tag (</p>). This behavior is not controllable by any visible setting and persists even after disabling all auto-completion features and uninstalling all plugins

The root cause appears to be the default HTML syntax highlighter itself, as the auto-closing behavior stops immediately when the file's syntax is changed to "Text"

This forces me to constantly delete the unwanted closing tag. To have a setting to disable this feature would be better

Steps to Reproduce:

  1. Disable all plugins
  2. Go to Acode settings and ensure all "auto-completion," "auto-correct," and similar features are turned off
  3. Create a new file
  4. Set the file's language/syntax to HTML
  5. Type <p>: the editor automatically changes the line to <p></p>, placing the cursor in the middle
  6. Now, change the file's language/syntax to Text
  7. Type <p>: the tag is not auto-closed, which is the desired behavior

Environment

v1.11.7
Android 10
Webview is latest from Google Play Store, always (checked)

(No idea what "command palette" even refers to)

If applicable, add mockups / screenshots regarding your vision

No response

If applicable, attach your Acode.log file to this issue.

Acode.log

Log doesn't seem to prove anything related to the editor, I only noted [ERROR] [object Object] as the only other line was about the app starting

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions