From 7465f950b14bc0f89282ebd8601399e4b2cb329a Mon Sep 17 00:00:00 2001 From: AJ Caldwell Date: Thu, 8 May 2025 23:04:48 -0700 Subject: [PATCH] Add nova --- README.md | 1 + packages/launch-editor/editor-info/macos.js | 1 + packages/launch-editor/get-args.js | 2 ++ 3 files changed, 4 insertions(+) diff --git a/README.md b/README.md index 894f4a7..1433cb6 100644 --- a/README.md +++ b/README.md @@ -74,6 +74,7 @@ To launch files, send requests to the server like the following: | `emacs` | [Emacs](https://www.gnu.org/software/emacs/) | ✓ | | | | `idea` | [IDEA](https://www.jetbrains.com/idea/) | ✓ | ✓ | ✓ | | `notepad++` | [Notepad++](https://notepad-plus-plus.org/download/v7.5.4.html) | | ✓ | | +| `nova` | [Nova](https://nova.app) | | | ✓ | | `pycharm` | [PyCharm](https://www.jetbrains.com/pycharm/) | ✓ | ✓ | ✓ | | `phpstorm` | [PhpStorm](https://www.jetbrains.com/phpstorm/) | ✓ | ✓ | ✓ | | `rider` | [Rider](https://www.jetbrains.com/rider/) | ✓ | ✓ | ✓ | diff --git a/packages/launch-editor/editor-info/macos.js b/packages/launch-editor/editor-info/macos.js index 8faeb53..65619b7 100644 --- a/packages/launch-editor/editor-info/macos.js +++ b/packages/launch-editor/editor-info/macos.js @@ -37,6 +37,7 @@ module.exports = { '/Applications/WebStorm.app/Contents/MacOS/webstorm': '/Applications/WebStorm.app/Contents/MacOS/webstorm', '/Applications/MacVim.app/Contents/MacOS/MacVim': 'mvim', + '/Applications/Nova.app/Contents/MacOS/Nova': 'nova', '/Applications/GoLand.app/Contents/MacOS/goland': '/Applications/GoLand.app/Contents/MacOS/goland', '/Applications/Rider.app/Contents/MacOS/rider': diff --git a/packages/launch-editor/get-args.js b/packages/launch-editor/get-args.js index b27a114..a2fb4ae 100644 --- a/packages/launch-editor/get-args.js +++ b/packages/launch-editor/get-args.js @@ -61,6 +61,8 @@ module.exports = function getArgumentsForPosition ( case 'rider': case 'rider64': return ['--line', lineNumber, '--column', columnNumber, fileName] + case 'nova': + return ['open', '--no-wait', '--line', `${lineNumber}:${columnNumber}`, fileName] } if (process.env.LAUNCH_EDITOR) {