ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Regex​Portfolio

by KaminoU ALL Missing

Save your useful regex pattern in a portfolio

Details

Installs

  • Total 350
  • Win 212
  • Mac 92
  • Linux 46
Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26 Mar 25 Mar 24 Mar 23 Mar 22 Mar 21 Mar 20 Mar 19 Mar 18 Mar 17 Mar 16 Mar 15 Mar 14 Mar 13 Mar 12 Mar 11 Mar 10 Mar 9 Mar 8 Mar 7 Mar 6 Mar 5 Mar 4 Mar 3 Mar 2 Mar 1 Feb 28 Feb 27 Feb 26 Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17
Windows 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Mac 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

Readme

Source
raw.​githubusercontent.​com

RegexPortfolio

Save your useful regex pattern in a portfolio Sublime Text.

If you want to save/keep some of your regex pattern, then Regex Portfolio could fit your needs.

In this package, you will also find some pre defined regex pattern, compatible with Sphinx directives

Main features

7 useful regex for catching all the : - changelog - keyword - synopsis (desc or description) - todo - warning - note - and all the above keys at the same time

The regex will accept all the current most popular comment style I know (HTML and PHP Blade comment style are not supported).

It is better to indent your comments (to be also compatible with Sphinx, just in case when you want to auto documentate later - mainly for python users)

The find results will be output in a single file in which all the important information is gathered ^

Documentation

RegexPortfolio

All commands are accessible via the Command Palette, Ctrl + Shift + P on Windows/Linux, Command + Shift + P on Mac.

  1. Regex Portfolio: load changelog to load the changelog regex pattern
  2. Regex Portfolio: load keywords to load the keywords regex pattern
  3. Regex Portfolio: load synopsis to load the synospis regex pattern
  4. Regex Portfolio: load todo to load the todo regex pattern
  5. Regex Portfolio: load notes to load the notes regex pattern
  6. Regex Portfolio: load warnings to load the warnings regex pattern
  7. Regex Portfolio: load all flag (keywords, synopsis, changelog, todo, notes & warnings) to load all the regex pattern at the same time

User Portfolio (My Regex)

You can also add your custom regex in the RegexPortfolio plugin.

All your pattern are accessible via the context menu

After loading the wanted regex pattern, select the folder you want to scan.

Installation

Regex Portfolio is also available via Package Control and can be found as RegexPortfolio.

For manual installation, run the following script in the Sublime Text terminal (ctrl+`) which utilizes git clone (you must have git installed with correct env path defined).

import os; path=sublime.packages_path(); (os.makedirs(path) if not os.path.exists(path) else None); window.run_command('exec', {'cmd': ['git', 'clone', 'https://github.com/KaminoU/RegexPortfolio.git', 'RegexPortfolio'], 'working_dir': path})

Packages can be uninstalled via Package Control: Remove Package, located in the Command Palette.

License

Copyright © 2020 宀Кami宀 (Michel TRUONG)

Licensed under the MIT license.

o( ^ ^ )o Cheers!!! o( ^ ^ )o