Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Issue 2129993002: [SublimeText] Get the clang flags with the same script that vim uses (Closed)

Created:
4 years, 5 months ago by jkarlin
Modified:
4 years, 5 months ago
Reviewers:
Dirk Pranke, sashab
CC:
sashab, chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[SublimeText] Get the clang flags with the same script that vim uses The sublime script to get the clang flags doesn't work for many files (e.g., those with $ line continuations in the ninja files). Rather than fix it, we should merge with vim's ycm generator which has to do the same thing and has been in use for quite some time. BUG=626409 Committed: https://crrev.com/51f4e51682e2241f394ea2c13c6fb2fff039cefb Cr-Commit-Position: refs/heads/master@{#406480}

Patch Set 1 #

Total comments: 9

Patch Set 2 : Address comments from PS1 #

Total comments: 2

Patch Set 3 : Remove extra spaces #

Unified diffs Side-by-side diffs Delta from patch set Stats (+33 lines, -132 lines) Patch
M docs/linux_sublime_dev.md View 1 2 chunks +2 lines, -2 lines 0 comments Download
M tools/sublime/ninja_options_script.py View 1 2 1 chunk +31 lines, -130 lines 0 comments Download

Messages

Total messages: 27 (16 generated)
jkarlin
thakis: PTAL, thanks! sashab: FYI
4 years, 5 months ago (2016-07-07 18:18:58 UTC) #2
Nico
sashab should review this. (why not make sublime/ninja_options_script.py use the vim script, if that's what ...
4 years, 5 months ago (2016-07-07 20:11:02 UTC) #7
sashab
https://codereview.chromium.org/2129993002/diff/1/docs/linux_sublime_dev.md File docs/linux_sublime_dev.md (right): https://codereview.chromium.org/2129993002/diff/1/docs/linux_sublime_dev.md#newcode303 docs/linux_sublime_dev.md:303: "sublimeclang_options_script": "python ${project_path}/src/tools/sublime/compile_flags.py -d '${project_path}/../depot_tools'", Just for default arguments ...
4 years, 5 months ago (2016-07-08 00:58:27 UTC) #8
sashab
4 years, 5 months ago (2016-07-08 00:58:27 UTC) #9
jkarlin
Thanks! PTAL sashab@ https://codereview.chromium.org/2129993002/diff/1/docs/linux_sublime_dev.md File docs/linux_sublime_dev.md (right): https://codereview.chromium.org/2129993002/diff/1/docs/linux_sublime_dev.md#newcode303 docs/linux_sublime_dev.md:303: "sublimeclang_options_script": "python ${project_path}/src/tools/sublime/compile_flags.py -d '${project_path}/../depot_tools'", On ...
4 years, 5 months ago (2016-07-18 17:48:55 UTC) #12
sashab
lgtm!! Tyvm Also chromium-dev PSA for the changed parameters sgtm :)
4 years, 5 months ago (2016-07-19 06:54:26 UTC) #14
jkarlin
Thanks! dpranke@ PTAL
4 years, 5 months ago (2016-07-19 10:50:21 UTC) #16
Dirk Pranke
lgtm. https://codereview.chromium.org/2129993002/diff/100001/tools/sublime/ninja_options_script.py File tools/sublime/ninja_options_script.py (right): https://codereview.chromium.org/2129993002/diff/100001/tools/sublime/ninja_options_script.py#newcode44 tools/sublime/ninja_options_script.py:44: main() nit: two spaces here?
4 years, 5 months ago (2016-07-20 02:00:31 UTC) #17
jkarlin
Thanks! https://codereview.chromium.org/2129993002/diff/100001/tools/sublime/ninja_options_script.py File tools/sublime/ninja_options_script.py (right): https://codereview.chromium.org/2129993002/diff/100001/tools/sublime/ninja_options_script.py#newcode44 tools/sublime/ninja_options_script.py:44: main() On 2016/07/20 02:00:31, Dirk Pranke wrote: > ...
4 years, 5 months ago (2016-07-20 02:32:36 UTC) #19
commit-bot: I haz the power
Committed patchset #3 (id:120001)
4 years, 5 months ago (2016-07-20 04:22:19 UTC) #25
commit-bot: I haz the power
4 years, 5 months ago (2016-07-20 04:24:24 UTC) #27
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/51f4e51682e2241f394ea2c13c6fb2fff039cefb
Cr-Commit-Position: refs/heads/master@{#406480}

Powered by Google App Engine
This is Rietveld 408576698