F

Results 59 comments of F

Perhaps the best behaviour would be for autopep8 not to run if the view is open twice?

Nope. It still won't save multiple views onto the same file.

This doesn't appear to be completely fixed. If you open two views on the same file and save one, the code is formatted, and the file is saved, however, ST3...

Running `Project Plus: Save` had no effect for me, too, but deleting the `projects.cson` and trying again fixed the issue. Possibly an issue updating the default file?

Honestly, the most obvious is that seconds of interaction cause Box2D to crash, complaining about running out of memory. Commenting out the single (repeated) `GetLinearVelocity` call means it runs fine...

In the browser console: ``` Cannot enlarge memory arrays. Either (1) compile with -s TOTAL_MEMORY=X with X higher than the current value 16777216, (2) compile with -s ALLOW_MEMORY_GROWTH=1 which adjusts...

I don't appear to be easily able to reproduce. Perhaps it would be helpful to explain the full situation. We have a body that we drag around with world, colliding...

That seems the most likely explanation to me, but I can't see any obvious alarm bells (though I am not a C programmer).

I think this is one of those cases where prettier should defer to the user's choice. Preserve brackets when they already exist, but don't add new ones.

@jlongster Understood. My preference is to get rid of all extraneous brackets. As you say, in general, they would be unnecessarily verbose. If extra clarity is needed, users can pull...