Sublime Forum

Change Comment

#1

Hi
How do I change this

<!--
-->

with this

#

Thanks!

0 Likes

#2

If you give more context, you may get better help. Otherwise, I don’t think you want a general “nonsense” solution like

  • You have the delete key on your keyboard right?
  • Make a custom Python plugin.
  • Regex replacement.
1 Like

#3

It’s possible the file you’re working in has the wrong syntax selected. You can change the selected syntax either by clicking the syntax name at the far right of the Status bar at the bottom of the app or by using the menus View -> Syntax.

0 Likes

#4

The first one is for HTML comments

The # is for Sass, css and Javascript comments

0 Likes