Comments (3)
Those matching flags are only used when not in regex mode currently. By default regex matches receive the line up until the caret as context, unless the M
flag is specified, in which case it receives multiple lines.
I will think about which behavior regex matches should have by default, if you have any thoughts please let me know.
from hsnips.
Those matching flags are only used when not in regex mode currently. By default regex matches receive the line up until the caret as context, unless the
M
flag is specified, in which case it receives multiple lines.I will think about which behavior regex matches should have by default, if you have any thoughts please let me know.
I think it makes sense to not include the flags for regex matches because that might interfere with the regex flags.
from hsnips.
Added a footnote to the README so as to make the flags behavior more clear.
from hsnips.
Related Issues (20)
- "Error creating hsnips directory in WSL2 when using 'open snippets file' command in extension"
- Regular Expression with underscore
- Can Not Match regular expression like: `(\S*)\.log$` "Desc" without A
- "Open snippet file for current language" command?
- 有时无法触发 HOT 2
- Hypersnip not always start with vscode on MacOS HOT 1
- Hide snippet suggestion
- Autocomplete failure if no language field exist in tokens/scopes HOT 1
- Escape character not working for code blocks in markdown HOT 1
- Callback is not a function when using directory
- **Description** is only visible when the snippet is selected.
- Problem with hyperref and `` ''
- Everything stop working HOT 2
- Bug Report Abw not working
- Latest hypersnips does not work for me HOT 2
- Snippets lag depending on position.
- Feature request: Configure keybindings from vscode HOT 1
- Expanding snippets inside snippets deletes tabstops HOT 46
- all.hsnips fails on C/C++ projects
- Running 'File Delete' participants Bug
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hsnips.