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.

Improvement on angular detection

See original GitHub issue

Now, if you have the Angular preset on (let’s say you’re working on an Angular project with a specific vscode instance) and you decide to open a non-Angular project, the extension will warn you that you’re not in an Angular project anymore. So far, so good.

The problem is that it will also set "vsicons.presets.angular": false, and even if you choose Close it will modify the settings.json.

I was thinking that this modification is not necessary. We don’t need to mark every project as angular: false as that’s the default state for the Angular preset. So if we find a non-Angular project and we happen to have the Angular preset on, we should have to only toggle the preset and not write into the settings.json.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Reactions:2
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
JimiCcommented, Apr 5, 2017

@Okoyl It’s mandatory to perform F1 > Icons: Apply Icons Customizations whenever you set a preset.

1reaction
JimiCcommented, Mar 23, 2017

I’m already working on that but gave a priority on code coverage.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Angular Performance improvement using change detection
Change detection is responsible to update the view (DOM) data when state data has changed. By default, when a state value in component...
Read more >
Here's how improve Angular change detection performance
Here's how to find the change detection bottle-necks in your application. And discover ways to make your Angular application zing.
Read more >
Angular change detection and runtime optimization
Change detection is the process through which Angular checks to see whether your application state has changed, and if any DOM needs to...
Read more >
The Complete Guide to Angular Performance Tuning
In this post, I will go through different methods that can be used to performance tune Angular apps. Some of them involve improving...
Read more >
5 Angular Performance Enhancements in 2022
In addition to splitting components point mentioned above, you can also adjust the changeDetection strategy of your component to improve the performance of...
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