yyx990803 / launch-editor

Open file in editor from Node.js.
MIT License
585 stars 67 forks source link

feat: Support column number for JetBrain IDEs #46

Closed nrayburn-tech closed 2 years ago

nrayburn-tech commented 2 years ago

Adds support to use the column number for JetBrain IDEs. Looks to be supported as far back as JetBrains 2020.1. https://www.jetbrains.com/help/idea/2020.1/opening-files-from-command-line.html

Tested with WebStorm on macOS with this code,

const launchEditor = require('./packages/launch-editor')
launchEditor('/Users/nrayburn/Documents/github/launch-editor/lerna.json:4:25')