reactionview 0.1.1 → 0.1.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/assets/javascripts/reactionview-dev-tools.esm.js +3 -0
- data/app/assets/javascripts/reactionview-dev-tools.esm.js.map +1 -1
- data/app/assets/javascripts/reactionview-dev-tools.umd.js +3 -0
- data/app/assets/javascripts/reactionview-dev-tools.umd.js.map +1 -1
- data/lib/generators/reactionview/install_generator.rb +7 -2
- data/lib/reactionview/config.rb +2 -0
- data/lib/reactionview/railtie.rb +14 -1
- data/lib/reactionview/template/handlers/herb.rb +8 -1
- data/lib/reactionview/version.rb +1 -1
- data/reactionview.gemspec +1 -1
- metadata +4 -4
@@ -1598,10 +1598,13 @@
|
|
1598
1598
|
openFileInEditor(file, line, column) {
|
1599
1599
|
const absolutePath = file.startsWith('/') ? file : (this.projectPath ? `${this.projectPath}/${file}` : file);
|
1600
1600
|
const editors = [
|
1601
|
+
`cursor://file/${absolutePath}:${line}:${column}`,
|
1601
1602
|
`vscode://file/${absolutePath}:${line}:${column}`,
|
1603
|
+
`zed://file/${absolutePath}:${line}:${column}`,
|
1602
1604
|
`subl://open?url=file://${absolutePath}&line=${line}&column=${column}`,
|
1603
1605
|
`atom://core/open/file?filename=${absolutePath}&line=${line}&column=${column}`,
|
1604
1606
|
`txmt://open?url=file://${absolutePath}&line=${line}&column=${column}`,
|
1607
|
+
`x-mine://open?file=//${absolutePath}&line=${line}&column=${column}`,
|
1605
1608
|
];
|
1606
1609
|
try {
|
1607
1610
|
window.open(editors[0], '_self');
|