Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Try to make the default projectview file a bit more user-friendly #6175

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -201,14 +201,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
Loading