GithubHelp home page GithubHelp logo

Comments (5)

kolipakakondal avatar kolipakakondal commented on June 19, 2024 2

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.

  1. Right-click on the project
  2. New > Folder
  3. Click on the "<<Advanced"
  4. Choose "Link to alternate location(Linked Folder)"
  5. Click on Browse
  6. Choose esp-idf components directory. example: /Users/kondal/esp/esp-idf/components
  7. Finish the dialog
  8. 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.

bastianhjaeger avatar bastianhjaeger commented on June 19, 2024

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.

HrMitrev avatar HrMitrev commented on June 19, 2024

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.

  1. Right-click on the project
  2. New > Folder
  3. Click on the "<<Advanced"
  4. Choose "Link to alternate location(Linked Folder)"
  5. Click on Browse
  6. Choose esp-idf components directory. example: /Users/kondal/esp/esp-idf/components
  7. Finish the dialog
  8. 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?

Screenshot from 2020-08-25 10-50-20

from idf-eclipse-plugin.

HrMitrev avatar HrMitrev commented on June 19, 2024

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.

kolipakakondal avatar kolipakakondal commented on June 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.