Sam Hulick
- Total activity 84
- Last activity
- Member since
- Following 0 users
- Followed by 0 users
- Votes 0
- Subscriptions 26
-
Created How to refactor default export?
Let's say I have this in a JS file: export default function myFunc() {} How do I refactor this to remove "default" so that all the files importing this function will change to: import { myFunc } fr... -
Created No TypeScript doc hints for function parameters?
This is from the official TypeScript site's playground (below). Note how I can make comments for function parameters, and autocomplete will give me hints. WebStorm doesn't do this. In fact, it sho... -
Created Anyone else having trouble with the TypeScript engine apparently stopping?
I noticed that, randomly, TypeScript will stop type-checking my code. It'll let me pass values that are type mismatches. If I restart WebStorm, then it's fine. I'm trying to decide whether I should... -
Created No Code Style option for ES6 destructuring
This line goes beyond my 80-char limit: const { fields, omit, folder_id, offset, limit, search, sort, order } = req.query; and formatting the code has no effect on wrapping it or chopping it down. ... -
Created How to always show block context at top of editor?
This feature is really handy, and I remember a long time ago, it used to always show up at the top when you were in a function or a block. Now I have to hit ctrl+shift+Q to show it. Is there a way ... -
Created Vue + TypeScript: type-checking is not working at all in script block
In my script block (which has lang="ts"), I have the following code: let foo = 2;foo = 'hi'; It's not complaining about this at all. Also, whenever I use interfaces I've created, it doesn't validat... -
Created How to exclude node_modules and .meteor from all searches and code inspections
Is there some way to exclude the node_modules and .meteor folders from all code inspections and searches, but still have JS "import" autocomplete for npm packages? -
Created Is there a way to reformat a multi-line list into a single line, and vice-versa?
Given this code: const x = [ 2, 3, 8,]; Is there a way to quickly reformat it (with a keystroke) to this? const x = [2, 3, 8]; And also take a single line like the one above and break it out int... -
Created "Reformat Code" command should respect right margin
If I set my right margin to 80 chars in Preferences > Code Style, I noticed when I reformat my code that I have split to multiple lines, WebStorm will change the code and put it on one line so it g... -
Created Other apps making WebStorm sluggish? (Mac OS)
Has anyone else noticed WebStorm become sluggish based on what other apps are doing? For instance, if I'm on a web page that has some CSS animation going on, WebStorm becomes sluggish. Or if I have...