You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The regex seems to work for every flavour except ECMAScript (which unfortunately VSCode uses), where in the example you can see that it no longer assigns groupings compared to the other flavours.
The regex is divided into two parts by the | character which means Alternate match. The part before | catches the Windows filepath and the latter part captures macOS/Linux. Using either of those parts on their own allows VSCode to correctly report the problem in the Problems pane with a link to the source code file, line and character - this can be tested by throwing some garbage characters into app.css
Short term solution could be to use the platform conditional in the template installation and insert the platform specific string, but it definitely isn't the right solution.
There is a second area to investigate which is how to reference the groups from the tasks.json file - but it seems to be a basic int reference.
This is work in progress, but just wanted to capture the actual regex in an issue in case others may have some ideas on how to make it work properly cross platform.
The text was updated successfully, but these errors were encountered:
Regex test
The regex seems to work for every flavour except ECMAScript (which unfortunately VSCode uses), where in the example you can see that it no longer assigns groupings compared to the other flavours.
The regex is divided into two parts by the | character which means Alternate match. The part before | catches the Windows filepath and the latter part captures macOS/Linux. Using either of those parts on their own allows VSCode to correctly report the problem in the Problems pane with a link to the source code file, line and character - this can be tested by throwing some garbage characters into app.css
Short term solution could be to use the platform conditional in the template installation and insert the platform specific string, but it definitely isn't the right solution.
There is a second area to investigate which is how to reference the groups from the tasks.json file - but it seems to be a basic int reference.
tasks,json snippet so far:
This is work in progress, but just wanted to capture the actual regex in an issue in case others may have some ideas on how to make it work properly cross platform.
The text was updated successfully, but these errors were encountered: