From 7d2c5d177e9813077a621df8d18c0deda73099b3 Mon Sep 17 00:00:00 2001 From: Allan Sandfeld Jensen Date: Fri, 2 Sep 2022 14:22:29 +0200 Subject: BASELINE: Update Chromium to 102.0.5005.177 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I0229f2402b8321f58c0092ec81d63372bec7e789 Reviewed-by: Michael BrĂ¼ning --- .../how-tos/visualstudio-tricks/index.md | 83 ---------------------- 1 file changed, 83 deletions(-) delete mode 100644 chromium/docs/website/site/developers/how-tos/visualstudio-tricks/index.md (limited to 'chromium/docs/website/site/developers/how-tos/visualstudio-tricks/index.md') diff --git a/chromium/docs/website/site/developers/how-tos/visualstudio-tricks/index.md b/chromium/docs/website/site/developers/how-tos/visualstudio-tricks/index.md deleted file mode 100644 index 2572b0547b8..00000000000 --- a/chromium/docs/website/site/developers/how-tos/visualstudio-tricks/index.md +++ /dev/null @@ -1,83 +0,0 @@ ---- -breadcrumbs: -- - /developers - - For Developers -- - /developers/how-tos - - How-Tos -page_name: visualstudio-tricks -title: VisualStudio Tricks ---- - -Here is an incomplete stack of tricks to help you work with Chromium in Visual -Studio. - -### **Faster Solution Loading / IntelliSense** - -### Loading a huge solution (like all.sln as generated by gn) makes Visual -Studio very slow, and certain operations like IntelliSense can be somewhat -unusable. Some tips for speeding it up: - -* ### Use the "filters" argument to gn to exclude parts of Chromium - you're not interested in, e.g. "gn gen --ide=vs - --filters=//components/omnibox/\* --sln=omnibox out/Debug" will only - create projects for components/omnibox/ and its dependencies. - However, be aware that Code Search (see below) will not work on code - that's been filtered out! -* ### A very useful extension which helps manage this is - [VsFunnel](https://marketplace.visualstudio.com/items?itemName=DimitriDering.Funnel). - This extension allows you to select which projects in a solution - will be loaded at solution load time, and which will remain in the - "unloaded" state. Unloaded projects are not indexed by VS, so this - extension can drastically speed up VS responsiveness. The unloaded - projects will remain searchable via VsChromium (see below). - -### After opening the solution, give Visual Studio about 10-15 minutes to finish -parsing files etc; it'll become more responsive after that. - -### Code Search - -### The [VsChromium](http://chromium.github.io/vs-chromium/) extension provides -fast code search, among other useful features. Code from unloaded solutions (via -VsFunnel, see above) is still searchable! - -### Column Limit - -You can set up column guidelines at 80 columns or wherever you would like by -installing [this Visual Studio -extension](https://visualstudiogallery.msdn.microsoft.com/da227a0b-0e31-4a11-8f6b-3a149cf2e459) -and using the context menu options. - -### cpplint.py integration - -cpplint.py integration makes it easy to check that a source file conforms to the -style guide. To do this, just go to Tools > External Tools > Add. Specify: - -* Title: cpplint.py -* Command: c:\\src\\depot_tools\\cpplint.bat -* Arguments: --output=vs7 $(ItemPath) -* Initial directory: $(ItemDir) -* Check Use Output window - -To create a keyboard shortcut: - -1. Go to Tools > Options > Environment > Keyboard. -2. Select Tools.ExternalCommand1. (This assumes cpplint.py is your - first external command in your Tools menu.) -3. Press a shortcut key (let's say Alt+L) and Assign it. -4. Press OK. - -Or, make the title something like c&pplint.py, and invoke it with Alt+t,p. - -### Text Editor (No tabs, indentation, line numbers) - -The style guide requires no tabs and 2 char indentation. To set this, go to -Tools > Options. On the Text Editor/All languages/Tabs page, set - -* Indenting radio to Smart -* Tab size and Indent Size to 2 -* Check Insert spaces - -### Debugging visualization, macros, more - -See -. -- cgit v1.2.1