Skip to content

Add RememberSyntax package#9386

Open
Suor wants to merge 1 commit intosublimehq:masterfrom
Suor:add-remembersyntax
Open

Add RememberSyntax package#9386
Suor wants to merge 1 commit intosublimehq:masterfrom
Suor:add-remembersyntax

Conversation

@Suor
Copy link
Copy Markdown
Contributor

@Suor Suor commented Apr 22, 2026

  • I'm the package's author and/or maintainer.
  • I have read the docs.
  • I have tagged a release with a semver version number. Latest tag: 1.0.0.
  • My package repo has a description and a README describing what it's for and how to use it.
  • My package doesn't add context menu entries.
  • My package doesn't add key bindings.
  • Any commands are available via the command palette.
  • Preferences and keybindings (if any) are listed in the menu and the command palette, and open in split view.
  • If my package is a syntax it doesn't also add a color scheme.
  • I use .gitattributes to exclude files from the package: images, test files, sublime-project/workspace.

My package remembers manually selected syntax for files and restores it when those files are opened again. It also supports basename glob rules for files with generic names or no extensions.

There are no packages like it in Package Control that I am aware of.

@github-actions
Copy link
Copy Markdown

Package Review

Channel Diff

Removed (none), changed (none), added RememberSyntax.

Review for RememberSyntax master-56227b8-2026.04.22.10.12.13

3 notices:
- Consider requiring Sublime Text build >= 4171, where the API is available at import time and these initialization restrictions do not apply.
- Tip: add 'args.default' to the 'Settings' menu entry. A minimal default is "{}".
    File: Main.sublime-menu
- Tip of master is tagged with 1.0.0. ✅
    Repository: https://github.com/Suor/RememberSyntax

No failures

1 warnings:
- The package does not contain a top-level LICENSE file. A license helps users to contribute to the package.


For more details on the report messages (for example how to resolve them), go to:
https://github.com/packagecontrol/st_package_reviewer/wiki

@guille
Copy link
Copy Markdown
Contributor

guille commented Apr 22, 2026

There is https://github.com/facelessuser/ApplySyntax

Also note some of the behaviour is available through standard ST with open extension as...

@michaelblyons
Copy link
Copy Markdown
Contributor

michaelblyons commented Apr 22, 2026

There is https://github.com/facelessuser/ApplySyntax

Also AutoSetSyntax. Neither of them has quite this UX, but the end result is the same.

@Suor
Copy link
Copy Markdown
Contributor Author

Suor commented Apr 22, 2026

The rules based thing is secondary to my plugin, the core workflow - open a file, it has some weird name like ”service” and not matched in any way, so you just set its syntax manually and it's remembered. That's it.

The rules based approach are covered by the above mods better.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants