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

Issue 2847723002: Add files.watcherExlude to vscode.md (Closed)

Created:
3 years, 7 months ago by dullweber
Modified:
3 years, 7 months ago
CC:
chromium-reviews
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add files.watcherExlude to vscode.md I had the issue that vscode didn't notice file changes e.g. by git cl format. Excluding out/ and third_party/ with files.watcherExclude seems to help. Files per folder: 10934 v8 14436 native_client 17478 data 26470 build 37676 chrome 389528 third_party 426532 out BUG= Review-Url: https://codereview.chromium.org/2847723002 Cr-Commit-Position: refs/heads/master@{#467668} Committed: https://chromium.googlesource.com/chromium/src/+/a347f0ebcb36d711a0ecb366b15815ce595f64bd

Patch Set 1 #

Total comments: 9
Unified diffs Side-by-side diffs Delta from patch set Stats (+8 lines, -0 lines) Patch
M docs/vscode.md View 1 chunk +8 lines, -0 lines 9 comments Download

Dependent Patchsets:

Messages

Total messages: 22 (8 generated)
dullweber
Hi, vscode didn't notice external file changes and this setting seems to help. I guess ...
3 years, 7 months ago (2017-04-27 12:55:41 UTC) #2
chaopeng
lgtm
3 years, 7 months ago (2017-04-27 13:52:25 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2847723002/1
3 years, 7 months ago (2017-04-27 13:54:27 UTC) #5
commit-bot: I haz the power
No L-G-T-M from a valid reviewer yet. CQ run can only be started once the ...
3 years, 7 months ago (2017-04-27 13:54:29 UTC) #7
dullweber
+ljusten as we are both no commiters yet
3 years, 7 months ago (2017-04-27 13:58:39 UTC) #9
dullweber
+jdoerrie could you please lgtm this, no one here is a commiter :D
3 years, 7 months ago (2017-04-27 14:01:47 UTC) #11
jdoerrie
lgtm
3 years, 7 months ago (2017-04-27 14:09:26 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2847723002/1
3 years, 7 months ago (2017-04-27 14:10:19 UTC) #14
ljusten (tachyonic)
Btw, you can TBR documentation changes, see https://chromium.googlesource.com/chromium/src/+/master/docs/code_reviews.md#TBR_ing-documentation-updates https://codereview.chromium.org/2847723002/diff/1/docs/vscode.md File docs/vscode.md (right): https://codereview.chromium.org/2847723002/diff/1/docs/vscode.md#newcode194 docs/vscode.md:194: "files.watcherExclude": ...
3 years, 7 months ago (2017-04-27 14:16:24 UTC) #15
commit-bot: I haz the power
Committed patchset #1 (id:1) as https://chromium.googlesource.com/chromium/src/+/a347f0ebcb36d711a0ecb366b15815ce595f64bd
3 years, 7 months ago (2017-04-27 14:21:04 UTC) #18
dullweber
https://codereview.chromium.org/2847723002/diff/1/docs/vscode.md File docs/vscode.md (right): https://codereview.chromium.org/2847723002/diff/1/docs/vscode.md#newcode194 docs/vscode.md:194: "files.watcherExclude": { On 2017/04/27 14:16:24, ljusten wrote: > Out ...
3 years, 7 months ago (2017-04-27 14:27:29 UTC) #19
dullweber
On 2017/04/27 14:16:24, ljusten wrote: > Btw, you can TBR documentation changes, see > https://chromium.googlesource.com/chromium/src/+/master/docs/code_reviews.md#TBR_ing-documentation-updates ...
3 years, 7 months ago (2017-04-27 14:28:48 UTC) #20
ljusten (tachyonic)
LGTM if you use **/out*/**. https://codereview.chromium.org/2847723002/diff/1/docs/vscode.md File docs/vscode.md (right): https://codereview.chromium.org/2847723002/diff/1/docs/vscode.md#newcode194 docs/vscode.md:194: "files.watcherExclude": { On 2017/04/27 ...
3 years, 7 months ago (2017-04-27 15:54:42 UTC) #21
dullweber
3 years, 7 months ago (2017-04-28 09:30:58 UTC) #22
Message was sent while issue was closed.
On 2017/04/27 15:54:42, ljusten wrote:
> LGTM if you use **/out*/**.
> 
> https://codereview.chromium.org/2847723002/diff/1/docs/vscode.md
> File docs/vscode.md (right):
> 
> https://codereview.chromium.org/2847723002/diff/1/docs/vscode.md#newcode194
> docs/vscode.md:194: "files.watcherExclude": {
> On 2017/04/27 14:27:29, dullweber wrote:
> > On 2017/04/27 14:16:24, ljusten wrote:
> > > Out of curiosity, did that cause any issues? Did you notice any
improvement?
> > 
> > I had the problem that when I run git cl format, vscode didn't notice any
> > changes to the currently open file. Adding watcherExclude fixed this.
> 
> Acknowledged.
> 
> https://codereview.chromium.org/2847723002/diff/1/docs/vscode.md#newcode198
> docs/vscode.md:198: "**/out/**": true,
> > I guess it is mostly important to reduce the number of files that are being
> > watched. Unless these chromeos folders also contains hundrets of thousands
of
> > files it probably doesn't matter.
> 
> The chromeos folders are regular build folders, so yes, they're big.
> 
> https://codereview.chromium.org/2847723002/diff/1/docs/vscode.md#newcode199
> docs/vscode.md:199: "**/third_party/**": true
> On 2017/04/27 14:27:29, dullweber wrote:
> > On 2017/04/27 14:16:24, ljusten wrote:
> > > The initial **/ seems unnecessary (files.excludes works without that), but
> > > according to jsturgis' comment on the github issue it appears to be
> required.
> > > Maybe add a comment?
> > 
> > It is currently required to have the initial **/, I guess that is a bug but
it
> > doesn't work without this. I subscribed to the github issue and will remove
> the
> > **/ when it is fixed.
> 
> Acknowledged.

The cl was already submitted so I fixed the pattern in another cl:
http://crrev.com/2847663004
Until the leading **/ is not required anymore this will also match
src/cc/output/, I added a comment to warn about this.

Powered by Google App Engine
This is Rietveld 408576698