Questions tagged [tooling]

77 questions
4
votes
1 answer

How to use ESLint for vue template placed in separate html file

Imagine you have "SFC" with template like this: And imagine you have working prettier/eslint setup and you can lint any of your files with…
Maksim Nesterenko
  • 5,661
  • 11
  • 57
  • 91
4
votes
1 answer

Add the types inferred by the TypeScript compiler to the original TS source code

With TypeScript you can either specify types explicitly or let the compiler infer them. Is there a way to add the types that are inferred to the original source code? Eg I would start with: private posX = 0; private posY = 0; private sizeX =…
MasterScrat
  • 7,090
  • 14
  • 48
  • 80
4
votes
3 answers

How to auto indent full javascript project?

I want to auto-indent a full javascript project. How can I do that using WebStorm or another tool?
Alexis Benoist
  • 2,400
  • 2
  • 17
  • 23
4
votes
1 answer

Is typescript robust enough?

Everyone these days is forcing typescript. There are so many fans and articles about it. Angular team is making their framework in TS. But my experience with migrating ES6 to TS was very disappointing. I tried to migrate our relatively fresh…
Elessar.perm
  • 751
  • 1
  • 9
  • 18
4
votes
3 answers

Intellisense for returned python object's methods

I am new to Python and I love this language much. But I encountered one annoying issue recently when working with PyDev in eclipse. Some method returned an instance of some class. But I cannot get intellisense for the instance's methods. For…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
3
votes
1 answer

Tracing the "sender hierarchy" in Scala actors

I'm maintaining a couple of actor-based Scala applications at the moment, and one question I find myself asking all the time is Who sends that message? For example, I find the piece of code that prints the scary message I found in the logs: case…
Martin McNulty
  • 2,601
  • 3
  • 22
  • 26
3
votes
1 answer

Is there any tooling to profile "hanging" RxJS subscriptions in Angular 5 apps?

In Angular apps, especially when NGRX is used, we have a lot of RxJS subscriptions. And yes, we (developers) may forget to unsubscribe. Is there any tooling that can help profile the issue?
AlexB
  • 4,167
  • 4
  • 45
  • 117
3
votes
2 answers

Gradle tooling api get task outputs

I've managed to get some project's task list thanks to the Gradle tooling API GradleProject.getTasks(). It's kinda cool, I can read task's name, description, group and whether it's public or not. I was wondering if it was possible to get tasks…
Javier92
  • 773
  • 6
  • 12
3
votes
0 answers

Conditionally run gulp tasks based on src

I have custom syntax in some sass files that autoprefixer will error out with. I'd like to run autoprefixer on the source files - excluding the ones with the custom syntax - and then use css-import after that. Current task: gulp.task('autoprefixer',…
Carson
  • 4,541
  • 9
  • 39
  • 45
2
votes
0 answers

How can I deterministically sort raw C++ code

I have few hundred thousand translation units of raw, but UE decorated C++ like code: #include "Somefile.h" class Whatever; UCLASS(Blueprintable) class GAME_API USubsystem : public UEngineSubsystem { GENERATED_BODY() public: // etc private: …
Kirikan
  • 119
  • 6
2
votes
0 answers

How to start creating a language extension for VS Code?

Pursuant to the discussion in Add XHTML support, I'd like to start creating an extension for Visual Studio Code which would implement support for XHTML. Which is HTML with XML syntax, so the the desired functionality is already (mostly?) implemented…
2
votes
1 answer

Tracking down unhandled exceptions in Blazor Webassembly

Any idea on how to get the line number of an unhanded exception in blazor webassembly? There was a discussion long ago on some work that still needs to be done by the team to have it working. I think that died down if I'm not mistaken. Consider the…
ryan g
  • 308
  • 2
  • 12
2
votes
1 answer

Does Gradle automatically infer dependency between tasks? If so, when?

In my build script, when I configure the downloadAndUnzipFile task, I am explicitly querying output of downloadZipFile task. I expected this is sufficient for Gradle to infer a dependency between the tasks, but it apparently is not, because I get an…
user7610
  • 25,267
  • 15
  • 124
  • 150
2
votes
2 answers

What is the recommended workflow and environment for working on the FreeBSD code base?

I want to develop a new feature or change and existing program of the FreeBSD distribution, specifically the user space¹. To do so, I need to make changes to the FreeBSD code base and then compile and test them.² Doing so on the tree in /usr/src…
fuz
  • 88,405
  • 25
  • 200
  • 352
2
votes
1 answer

Specify Different Command Prompt for Visual Studio

In Visual Studio 2017 or 2019 is it possible to have a different program, say gitbash or powershell, run for: Team Explorer > Actions > Open Command Prompt So far, I have only found instructions to customize the default developer command prompt. I…