@WebStormIDE Hey! Is there a way to get autocomplete on files that are non .ts when using webpack to bundle them?
-
-
Replying to @awdev10
Hi, sorry, didn't get it. Do you mean completion for the file name in other files, or completion for symbols from these files in other files, or something else?
1 reply 0 retweets 0 likes -
Replying to @WebStormIDE
Sorry, my bad writing. Basically I am using Webpack to bundle graphql file in my build. So in my tsx files `import QUERY from ./some/file.graphql`. And I wanted the autocomplete on `./some/file,graphql`
1 reply 0 retweets 0 likes -
Replying to @awdev10
Once code completion popup is open, press Ctrl-Space to see all project files in it. Hope it helps!
1 reply 0 retweets 0 likes -
Replying to @WebStormIDE
Hey, yeah thats what I normally do but nothing is populated.pic.twitter.com/rbitgrni73
1 reply 0 retweets 0 likes -
Replying to @awdev10
Please try Ctrl-Space right after `./` Is `gql` a folder name or you type it to find `*.graphql` files?
2 replies 0 retweets 0 likes -
Replying to @WebStormIDE
`ctrl-space` after `./` shows the directory `./gql` but again after selecting it produces the same `No suggestions`pic.twitter.com/rsnthcZEQx
1 reply 0 retweets 0 likes -
Replying to @awdev10
Please press Ctrl-Space again like it's suggested at the bottom of the completion popup,
1 reply 0 retweets 0 likes -
Replying to @WebStormIDE
Sorry but im going to call it - it’s a bug. I can press ctrl-space until the cows come home. All that happens is ‘No suggestions’. I swear I’m not being a moron here
2 replies 0 retweets 0 likes
Got it, thanks. Seems that in this case WebStorm doesn't treat `./` as a path, but thinks that it's a search pattern. If you just press Ctrl-Space 2x inside quotes that will truly show all files.pic.twitter.com/JNaR4E5wed
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.