Comments (5)
You should be able to navigate to function definitions once you link the esp-idf components to the project. We already have a PR for this - you can expect this in the next update.
However, you can also do the same with the following steps.
- Right-click on the project
- New > Folder
- Click on the "<<Advanced"
- Choose "Link to alternate location(Linked Folder)"
- Click on Browse
- Choose esp-idf components directory. example: /Users/kondal/esp/esp-idf/components
- Finish the dialog
- Wait for the "C/C++ Indexer" to finish the job - this will index all the components so that you should be able to navigate the functions.
from idf-eclipse-plugin.
Seems like an unpleasant workarround to me.
I have a project with custom components, so including another folder called "components" does not work.
from idf-eclipse-plugin.
You should be able to navigate to function definitions once you link the esp-idf components to the project. We already have a PR for this - you can expect this in the next update.
However, you can also do the same with the following steps.
- Right-click on the project
- New > Folder
- Click on the "<<Advanced"
- Choose "Link to alternate location(Linked Folder)"
- Click on Browse
- Choose esp-idf components directory. example: /Users/kondal/esp/esp-idf/components
- Finish the dialog
- Wait for the "C/C++ Indexer" to finish the job - this will index all the components so that you should be able to navigate the functions.
Hi!
Before when I did that the indexer got a bit messed up and some variables/functions(particularly in the components src) couldn't be resolved regardless of me trying to tweak the indexer settings. Also there are multiple definitions of the same functions in diferent files;
Now unfortunately when I include the components folder it's automatically excluded from the build and I cannot access the settings to un-exclude it.
Any Ideas how to show the C/C++ Build settings?
from idf-eclipse-plugin.
Update: the problem was that the project was imported and the the original had the components included but with different path. The IDE didn't show the linked components, but at the same time didn't accept other folders with the same name. So I linked them with other name and it worked.
Now the biggest problem is this
from idf-eclipse-plugin.
Hello,
With our recent releases v2.4.0/v2.4.1, we have fixed header unresolved issues, indexer problems, and source code navigation problems. Now you should be able to navigate to the source code by pressing F3.
Please get the latest changes using the update site. Please check our release page for more details.
https://github.com/espressif/idf-eclipse-plugin/releases/tag/v2.4.0
Thank you
from idf-eclipse-plugin.
Related Issues (20)
- No dialog to create an Espressif IDF project after installing esp-idf-v5.1.2 at Eclipse 2023-12 (IEP-1129) HOT 6
- ESP32-S3-DecKitC-1 Debugger no connection to the board Failed to execute MI command (IEP-1131) HOT 1
- Does not resolve any libraries (IEP-1148) HOT 10
- OutputStreamMonitor.startMonitoring(java.lang.String) (IEP-1150) HOT 14
- 'Install Tools' in 2.12.0 fails with ESP-IDF v5.2 (IEP-1155) HOT 5
- Indexer will not resolve includes in unit-test code (but will still compile and run) (IEP-1164) HOT 1
- Syntax coloring does not work in Editor (LSP) (IEP-1165) HOT 2
- When installing ESP IDF IDE, IDE is not selected by default (IEP-1166) HOT 1
- Rendering problem of project description when starting new ESP IDF project (IEP-1167) HOT 1
- [Debian 12, Eclipse IDF 2023-12, ESP-IDF Plugin 2.12] ESP-IDF Tools manager > Install Tools errors. (IEP-1168) HOT 5
- install error (IEP-1169) HOT 5
- Eclipse Plugin: Add ability to select ESP-Tools location (IEP-1173) HOT 2
- Add the Reset & Restart functionality (IEP-1177) HOT 7
- Abort build process in presence of errors (IEP-1180) HOT 1
- Latest version brings more unresolved warnings (IEP-1181) HOT 24
- Espressif-IDE-2.12.1-linux.gtk.x86_64 seems Scanner is broken (IEP-1182) HOT 1
- macOS 14.4 Sonoma (IEP-1185) HOT 1
- IDE installation error (IEP-1188) HOT 3
- Not able to see data in teraterm (IEP-1191)
- Unresolved inclusion. unless it was included in "app_main.c". (IEP-1206)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from idf-eclipse-plugin.