Skip to content

Commit

Permalink
fix: Try to make the default projectview file a bit more user-friendly (
Browse files Browse the repository at this point in the history
#6175)

So the comments are supposed to be more descriptive, and at least
some things in the file are highlighted
  • Loading branch information
tpasternak committed Mar 1, 2024
1 parent ab853dc commit 779e17a
Showing 1 changed file with 9 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -202,14 +202,17 @@ private ProjectView defaultEmptyProjectView() {
"# For more documentation, please visit https://ij.bazel.build/docs/project-views.html",
"# If your repository contains predefined .projectview files, you use 'import' directive to include them.",
"# Otherwise, please specify 'directories' and 'targets' you want to be imported",
" ",
"# By default, we keep the 'directories' section empty, so nothing is imported.",
"# Please change `-.` to a list of directories you would like to import",
"# ",
"# By default we keep your 'directories' and 'targets' sections empty, so nothing is imported.",
"# Please uncomment them and put the correct data there, and then run 'Sync' again" ,
"# After that, please look at the `derive_targets_from_directories` section and then:",
"# - either keep it set to `true` to import ALL targets in the directories section",
"# - or set it to `false` and add `targets` section to choose the targets selectively",
"",
"# directories: ",
"# <your directory here>",
"# targets: ",
"# <your directory here>",
"directories: ",
" -.",
"derive_targets_from_directories: true",
""
)));

Expand Down

0 comments on commit 779e17a

Please sign in to comment.