Henric Persson

Results 28 issues of Henric Persson

Since watchman will give you events whenever files are added/deleted, why do I have to flush the cache manually when using it?

feature

This is a strange issue, and it might very well be caused by some other vim plugin. But I thought I'd report it anyway to hear your thoughts. If I...

I'm currently working on an index of all files and their exports. An important part of that is a full scan of the file system (inside a project) to find...

breaking change

In #371, I took a shortcut to fix an issue with `goto` related to ambiguous matches. We should look into a better long-term fix at some point.

enhancement

Originally reported by @ivangeorgiew in #476, but moved here to better capture things: Thanks, its working now. However I found other bugs with fixImports: Here MY_VAR isn't imported. const bla...

What used to be ```js import * as foo from 'foo'; ``` will become ```js import foo, { bar } from 'foo'; ``` after importing `bar`. Kudos to @rohandang for...

At Brigade, we have this in our .importjs.json config: ``` json "aliases": { "Raven": "raven-js", "Uri": "urijs", }, ``` If we simply would ignore the "js" part of a package,...

enhancement

I think it would be safer for us to always use `/absolute/paths`. Right now, we're inconsistent about paths. Most of the times, they're `./local` to the current working directory. Sometimes...

We've been using `importPath` to specify the part of an import statement specifying what module to import. A better name would be `moduleName`, since it is used in official documentation,...

breaking change

There's been some discussions around the `stripFileExtensions` configuration option, and how it affects file finding (it doesn't) and module name formatting (it does). @rhettlivingston brought up his confusions around it,...