mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
update tip of the day
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
<p>The <span class="emphasis">Quick Definition Viewer</span>
|
||||
(<span class="shortcut">&shortcut:QuickImplementations;</span>) can be also used for items in lookup lists that appear on code
|
||||
(<span class="shortcut">&shortcut:QuickImplementations;</span>) can also be used for items in lookup lists that appear on code
|
||||
completion and class/file/symbol navigaton commands.</p>
|
||||
<p class="image"><img width="532" height="167" src="images/ctrl_shift_in_lookup.png"></p>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<p>
|
||||
You can quickly find all places where a particular class, method or variable is used in the whole project
|
||||
by positioning the caret at the symbol's name or at its usage in code and pressing <span class="shortcut">&shortcut:FindUsages;</span>
|
||||
(<span class="control">Find Usages</span>
|
||||
(<span class="control">Edit | Find | Find Usages</span>
|
||||
in the popup menu).</p>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
<p>To navigate to the declaration of a class, method or variable used somewhere in the code,
|
||||
position the caret at the usage and press <span class="shortcut">&shortcut:GotoDeclaration;</span>. You can also click the mouse
|
||||
position the caret at the usage and press <span class="shortcut">&shortcut:GotoDeclaration;</span> (<span class="control">Navigate | Declaration</span>). You can also click the mouse
|
||||
on usages with the <span class="shortcut">Ctrl</span>
|
||||
key pressed to jump to declarations.</p>
|
||||
<p class="image"><img width="856" height="145" src="images/ctrl_click.png"></p>
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
refactoring helps you simplify complicated statements in your code. For example, in the code fragment below,
|
||||
you can select an expression in the code:</p>
|
||||
<p class="image"><img width="498" height="15" src="images/introduce_variable_1.png"></p>
|
||||
<p>and press <span class="shortcut">&shortcut:IntroduceVariable;</span> (<span class="control">Refactor | Extract Variable</span>).
|
||||
<p>and press <span class="shortcut">&shortcut:IntroduceVariable;</span> (<span class="control">Refactor | Extract | Variable...</span>).
|
||||
This will result in the following:</p>
|
||||
<p class="image"><img width="484" height="84" src="images/introduce_variable_2.png"></p>
|
||||
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<p>&productName; lets you jump from your check-in comment to an issue in your task tracker.</p>
|
||||
<p>All you have to do is to define issue navigation patterns in the
|
||||
<span class="control">Settings | Version Control</span>
|
||||
<span class="control">Settings | Version Control | Issue Navigation</span>
|
||||
dialog:</p>
|
||||
<p class="image"><img width="520" height="348" src="images/issueNavigation1.png"></p>
|
||||
<p>When you commit a changelist, and type the check-in comment, make sure it matches one of your issue navigation patterns.
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
<p>If you don't want to commit some of your changes to the repository, you can set them aside for a while, by moving
|
||||
to a separate changelist, or by putting them to a shelf. Select such file in the <span class="control">Local</span> tab of the <span class="control">Changes</span> tool
|
||||
window, and on the context menu choose <span class="control">Move to another changelist</span>,
|
||||
window, and on the context menu choose <span class="control">Move to Another Changelist</span>,
|
||||
or <span class="control">Shelve Changes</span>.</p>
|
||||
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<p>
|
||||
You can move any file to a changelist of your choice. To do that, just choose
|
||||
<span class="control">Move to Changelist</span> on the file context menu in the Changes tool window:
|
||||
<span class="control">Move to Another Changelist</span> on the file context menu in the Changes tool window:
|
||||
</p>
|
||||
|
||||
<p class="image"><img width="406" height="78" src="images/move_to_changelist.png"></p>
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
|
||||
|
||||
<p>You can quickly open an Eclipse project by selecting a <span class="code_emphasis">.classpath</span> or <span class="code_emphasis">.project</span> file in
|
||||
the <span class="control">Open Project</span> dialog.
|
||||
the <span class="control">File | Open</span> dialog.
|
||||
The corresponding Eclipse project is imported with default settings, without launching the wizard.</p>
|
||||
|
||||
|
||||
|
||||
@@ -8,10 +8,9 @@
|
||||
<p>To open your browser with documentation for the element at the editor's caret,
|
||||
press <span class="shortcut">&shortcut:ExternalJavaDoc;</span>
|
||||
(<span class="control">View | External Documentation</span>).</p>
|
||||
<p>You must have the path to your browser set in the <span class="control">General</span> options
|
||||
(<span class="control">File | Settings</span>)
|
||||
<p>You must have the path to your browser set in the <span class="control">File | Settings | Web Browsers</span> options
|
||||
and paths to documentation files added to your project
|
||||
(<span class="control">File | Settings | Project Structure</span>) to use this feature.</p>
|
||||
(<span class="control">File | Project Structure...</span>) to use this feature.</p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
<p>To see the inheritance hierarchy for a selected class, press <span class="shortcut">&shortcut:TypeHierarchy;</span>
|
||||
(<span class="control">View | Type Hierarchy</span>).
|
||||
(<span class="control">Navigate | Type Hierarchy</span>).
|
||||
You can also invoke the hierarchy view right from the editor to see the hierarchy for the currently edited class.</p>
|
||||
<p class="image"><img src="images/hierarchy_browser.png"></p>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
|
||||
|
||||
|
||||
<p>You can view all statements within the method where certain exceptions can be brought.
|
||||
<p>You can view all statements within the method where certain exceptions can be caught.
|
||||
Just place the caret at the <span class="code_emphasis">throws</span> keyword in a method declaration,
|
||||
press <span class="shortcut">&shortcut:HighlightUsagesInFile;</span> and select the desired exception class from the list.
|
||||
This will also work for <span class="code_emphasis">try</span> and <span class="code_emphasis">catch</span>.
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
|
||||
|
||||
<p>You can quickly open a Maven project by selecting a <span class="code_emphasis">pom.xml</span> file in the <span class="control">Open Project</span> dialog.
|
||||
<p>You can quickly open a Maven project by selecting a <span class="code_emphasis">pom.xml</span> file in the <span class="control">File | Open</span> dialog.
|
||||
The corresponding Maven project is imported with default settings, without launching the wizard.</p>
|
||||
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
<p>Use <span class="shortcut">&shortcut:GotoNextError;</span>/<span class="shortcut">&shortcut:GotoPreviousError;</span> keys to jump between highlighted syntax errors.</p>
|
||||
<p>Use <span class="shortcut">&shortcut:PreviousOccurence;</span>/<span class="shortcut">&shortcut:NextOccurence;</span> shortcuts to jump between compiler error messages
|
||||
or search operation results.</p>
|
||||
<p>To skip warnings right click on the validation side bar / marker bar and choose <span class="control">Go to high priority problems only</span>.</p>
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -10,7 +10,7 @@
|
||||
and choose <span class="control">try / catch</span>. The catch blocks for all the exceptions thrown inside the block will be generated automatically.</p>
|
||||
<p>You can customize the bodies of the generated catch blocks on the
|
||||
<span class="control">Code</span> tab of
|
||||
<span class="control">File | Settings | File Templates</span>.</p>
|
||||
<span class="control">File | Settings | File and Code Templates</span>.</p>
|
||||
<p>Use other items in the list to surround with other constructs.</p>
|
||||
<p class="image"><img src="images/surround_with.png"></p>
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
|
||||
<p>Tune the <span class="product">&productName;</span> tool windows layout to make better use of your screen.</p>
|
||||
<p>Toggle between the vertical and side-by-side placement of the tool windows by
|
||||
Ctrl+click/Cmd+Click on the splitter:</p>
|
||||
Ctrl+Click/Cmd+Click on the splitter:</p>
|
||||
|
||||
|
||||
<p class="image"><img src="images/sidebyside.png"></p>
|
||||
|
||||
Reference in New Issue
Block a user