Commit Graph

45 Commits

Author SHA1 Message Date
Ash Wilson
cc0b982c5a Re-word help text 2019-01-14 10:49:21 -05:00
David Wilson
f31471707d Remove resourcePath and devResourcePath assignment from parseCommandLine 2018-08-22 12:41:36 -07:00
David Wilson
bb1f7b0a2f Always provide a devResourcePath in load settings 2018-08-22 11:48:50 -07:00
David Wilson
2d65535147 Don't normalize undefined devResourcePath on Windows 2018-08-21 14:20:42 -07:00
David Wilson
ba12a1e2fc Simplify dev resource path detection 2018-08-21 11:57:18 -07:00
David Wilson
7b50f72ac2 Call getDevResourcePath 2018-08-21 06:43:28 -07:00
David Wilson
94f972e0bf Teach --dev to detect Atom repo in process.cwd() 2018-08-21 06:40:25 -07:00
Federico Bruni
6856c63421 Doc: explain how to open a file at a certain line and column 2018-06-23 18:01:20 +02:00
Max Brunsfeld
85d745cbec Remove 'project' command line flag
From what I can tell, this flag never worked correctly. Instead of
opening the paths specified in the project file, the directory
containing the project file itself would always be opened.
2018-04-25 07:45:58 -07:00
Antonio Scandurra
98f2fdecfe Merge pull request #16926 from atom/fix-typo
Remove extra hyphen in option description
2018-03-12 18:25:29 +01:00
Lee Dohm
1c6b431bf8 Remove extra hyphen in option description 2018-03-10 09:15:47 -08:00
Philip Weiss
e14ffb9420 set default path inside of project.replace 2018-03-09 14:04:21 -08:00
Philip Weiss
9282f07d07 return correct contents when no config present 2018-03-08 22:00:51 -08:00
Philip Weiss
a31795e1f3 fix linting issues 2018-03-08 21:53:50 -08:00
Philip Weiss
9d3c91b150 fix more nits 2018-03-08 21:49:18 -08:00
Philip Weiss
b4f9faba42 fix nits 2018-03-06 14:55:51 -08:00
Philip Weiss
aa925c2a4c remove atomproject format restriction 2018-03-06 13:33:54 -08:00
Philip Weiss
062dfdea80 address PR comments 2018-03-06 11:06:22 -08:00
Philip Weiss
f111eaa543 remove console log 2018-03-01 21:02:48 -08:00
Philip Weiss
7ce5b000e4 address more of max's comments 2018-03-01 19:35:59 -08:00
Philip Weiss
e376096e8f use setpaths instead of command line paths 2018-02-25 21:57:18 -08:00
Philip Weiss
bd4231b936 relativize to atom project 2018-02-25 20:46:52 -08:00
Philip Weiss
6eee51be7e atomProject -> atomproject 2018-02-24 18:04:56 -08:00
Philip Weiss
a419d47ef8 fix linting issues 2018-02-24 18:03:06 -08:00
Philip Weiss
347d547d5f guard against edge cases 2018-02-24 17:58:46 -08:00
Philip Weiss
1483c0c96d add more data passed through with projectSettings 2018-02-24 17:50:18 -08:00
Philip Weiss
ad40ff9825 add failure mode for reading project settings 2018-02-18 17:56:55 -08:00
Philip Weiss
c69b8d38e8 remove whitespace 2018-02-18 17:05:50 -08:00
Philip Weiss
bf6a4e3db4 add .atomProject files 2018-02-18 15:03:00 -08:00
Michelle Tilley
5e43084cd3 url -> URI 2017-10-17 15:23:10 -07:00
Michelle Tilley
eecd524788 Differenter 2017-09-21 14:57:33 -07:00
Michelle Tilley
6227203de7 Do this different 2017-09-21 14:55:19 -07:00
Michelle Tilley
c52d517d13 Limit argument parsing when --url-handler is set 2017-09-21 14:50:41 -07:00
David Reiss
8ef9dabffa Allow atom:// urls to be opened from the command line
Some Atom extensions (like Nuclide) have functionality that can only be
triggered by open-url events, which only work on Mac OS.  With this
change, `atom://` URLs can be passed on the command-line, and they will
opened with the normal openUrl method on all platforms.

This change doesn't set Atom up as the default handler for atom:// urls.
That will require some platform-specific changes.
2017-09-18 12:27:29 -07:00
Nathan Sobo
55748bd2c4 Document enable-electron-logging option 2017-08-02 21:12:02 -06:00
Max Brunsfeld
060b027e2a Respect the --resource-path flag 2017-02-17 14:16:53 -08:00
Damien Guard
5a446ff467 Clean up portable mode, try local .atom before ATOM_HOME 2016-12-11 15:59:24 -08:00
Antonio Scandurra
c54b330d68 Update eslint and fix new script/lint errors 2016-10-14 13:54:10 +02:00
Antonio Scandurra
1bdd79d719 Implement atom --benchmark-test to ensure benchmarks are valid on CI 2016-10-14 11:02:59 +02:00
Antonio Scandurra
fa90851e14 Implement atom --benchmark 2016-10-14 11:02:58 +02:00
Philip Schatz
72110ed40f fixup! 🐛 support variable terminal widths 2016-09-29 13:58:47 -04:00
Philip Schatz
7bbc0d12eb 🐛 support variable terminal widths 2016-09-27 14:25:45 -04:00
Antonio Scandurra
a8c73f0529 Fix calling atom --version 2016-08-12 09:33:15 +02:00
Nathan Sobo
324e8d6c7a Move env assignment into parseCommandLine
A bit of a misnomer but makes things more testable so I’ll accept it
until we can do more overhaul.
2016-08-11 14:30:22 -06:00
Nathan Sobo
847911f0fe Extract parseCommandLine from main.js to its own file for testing
Signed-off-by: Antonio Scandurra <as-cii@github.com>
2016-08-11 12:44:20 -06:00