Zulip Chat Archive

Stream: general

Topic: vscode settings bug


Keeley Hoek (Aug 13 2018 at 14:54):

There is a bug in the vscode plugin where in the "User Settings" panel the default settings for numerical constants like "lean.memoryLimit" are given in inverted commas (e.g. "4096"), when they actually shouldn't be.

Mario Carneiro (Aug 13 2018 at 14:57):

why is that a problem?

Mario Carneiro (Aug 13 2018 at 14:58):

are you sure only a number can appear there?

Mario Carneiro (Aug 13 2018 at 14:58):

i.e. "32M"

Gabriel Ebner (Aug 13 2018 at 16:33):

Both formats (4096 and "4096") work, and no, you can't append a M.

Gabriel Ebner (Aug 13 2018 at 16:34):

Default value changed to bare number a second ago.

Keeley Hoek (Aug 16 2018 at 16:49):

(deleted)

Keeley Hoek (Aug 16 2018 at 17:04):

At least on my computer, using inverted commas gives the vscode error "Incorrect type. Expected 'number'."

Gabriel Ebner (Aug 16 2018 at 17:07):

It's a warning, and it will probably still work. Nevertheless, use "lean.memoryLimit": 4096. Just a bare number.


Last updated: Dec 20 2023 at 11:08 UTC