question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Code intelligence on lib projects

See original GitHub issue

I’m not sure what changed, but for some reason, the asconfig.json files in the Royale projects stopped working.

Code intelligence no longer works. For example, I get the following in the Problems pane: DropDownList.as is not located in the project's source path. Code intelligence will not be available for this file.

The config file is using include-classes and include-sources. This used to work.

Adding the following allows code intelligence, but causes hundreds of flash warnings:

        "source-path": [
            "src/main/royale"
        ],

I can’t figure out how to configure the asconfig file to make it work again.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:8 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
joshtynjalacommented, Sep 6, 2018

I’ll take a look and see if I can figure out how to make include-classes work without source-path.

0reactions
joshtynjalacommented, Sep 7, 2018

It seems that the compiler is smart enough to fall back to the values in include-sources when source-path is missing. That’s probably why you were able to get code intelligence before when I wasn’t being as strict about where files are located. In the commit above, I’m now also checking both source-path and include-sources before displaying the “DropDownList.as is not located in the project’s source path. Code intelligence will not be available for this file.” error. I’ve verified that this makes code intelligence work in the Basic project.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Code Intelligence - GitLab Docs
Code Intelligence adds code navigation features common to interactive development environments (IDE), including: Type signatures and symbol documentation.
Read more >
Project Setup (C/C++) - - Code Intelligence Docs
In this step, we are simply building the project, without any modification. This allows us to identify which parts of the code end...
Read more >
Creating a project—Code intelligence | Upsource - JetBrains
Enable code intelligence: Upsource will be able to execute static code analysis in your repository and provide related features including ...
Read more >
Code Intelligence - GitHub
Code Intelligence has 58 repositories available. Follow their code on GitHub. ... cifuzz support library for Bazel projects.
Read more >
Mining Threat Intelligence about Open-Source Projects and ...
Mining Threat Intelligence about Open-Source Projects and Libraries from Code Repository Issues and Bug Reports ... Abstract: Open-Source Projects and Libraries ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found