... | ... | @@ -54,33 +54,20 @@ Click **Apply and close** |
|
|
|
|
|
## Tips for Working with Eclipse
|
|
|
|
|
|
#### Keep windows open
|
|
|
#### Keep windows open (not necessary in Eclipse after \~2020)
|
|
|
|
|
|
To stop windows from closing automatically search for "reuse" then deselect "reuse editors" and "close windows automatically"
|
|
|
To stop windows from closing automatically, search for "reuse" then deselect "reuse editors" and "close windows automatically"
|
|
|
|
|
|
#### Keyboard Shortcuts
|
|
|
|
|
|
Keyboard shortcuts can be viewed and changed in the preferences
|
|
|
|
|
|
Click "Window" at the top of the page (next to "Help")
|
|
|
Click "Eclipse" / Properties / General / Keys
|
|
|
|
|
|
Click "Preferences" from the drop-down menu
|
|
|
|
|
|
Expand the "General" section
|
|
|
|
|
|
Click on "Keys"
|
|
|
|
|
|
In the "Keys" window, there is a textbox below "Scheme"
|
|
|
In the "Keys" window, there is a textbox below "Scheme" - I use "MS Visual Studio".
|
|
|
|
|
|
Type keywords into this box to filter the list of keyboard shortcuts. For example, typing "bracket" into the text box shows that the command for "Go to Matching Bracket" is shift+ctrl+P.
|
|
|
|
|
|
#### The local resource is out of sync error
|
|
|
|
|
|
In its default state eclipse cannot deal with files that change outside of its control.\
|
|
|
To fix this go to Preferences->general->workspace and enable refresh automatically.
|
|
|
|
|
|
Also select save automatically before build
|
|
|
|
|
|
### Working with breakpoints
|
|
|
|
|
|
Set a breakpoint by right-clicking in the margin to the left of the source.\
|
... | ... | @@ -102,9 +89,9 @@ The "builder settings" should show a build command something like "make debug -j |
|
|
Right-click on the project name in the project explorer window.\
|
|
|
The "build configuration" allows the configuration to be changed.
|
|
|
|
|
|
#### Eclipse indexer confusion when building in one of the sys_??? directories
|
|
|
#### Eclipse indexer confusion when building in one of the sys\_??? directories
|
|
|
|
|
|
The Eclipse indexer, which derives information about variables and routines from header file information, may become confused. The symptom is that the source editor will claim that a larger number of syntax errors are present, but the code will build properly. This is caused by Eclipse looking for the header files in the sys_??? directory rather than the source directory. To fix, go to Properties -> C/C++ General -> Paths and Symbols -> Includes -> Library Paths and "Libraries. Add the source directory. The settings are applicable to the selected project only.
|
|
|
The Eclipse indexer, which derives information about variables and routines from header file information, may become confused. The symptom is that the source editor will claim that a larger number of syntax errors are present, but the code will build properly. This is caused by Eclipse looking for the header files in the sys\_??? directory rather than the source directory. To fix, go to Properties -> C/C++ General -> Paths and Symbols -> Includes -> Library Paths and "Libraries. Add the source directory. The settings are applicable to the selected project only.
|
|
|
|
|
|
---
|
|
|
|
... | ... | |