作者:手机用户2702935165 | 来源:互联网 | 2023-02-01 19:52
是否可以通过settings.json
扩展或其他机制设置VS代码窗口的大小和位置?
在Atom中,我可以在我的init.coffee
文件中这样做:
atom.commands.add 'atom-workspace',
'custom:prepare-for-screencast': ->
atom.setSize(1280, 720)
atom.setPosition(37, 50)
然后我可以Prepare for screencast
从Command调色板调用.
1> M. Ayers..:
还没?
https://code.visualstudio.com/docs/getstarted/settings
我能找到的最接近的是window.newWindowDimensions,它只需要一些引用预定义几何图形的字符串,尽管如果通过关闭现有会话,打开一个窗口,调整大小,"继承"可以很好地为您提供服务.它符合你的喜好,然后退出.然后你的所有新窗口都应该是那么大,并且Visual Studio Code在调整大小方面表现得非常好,从不关闭最后调整大小的窗口,或者它成为你的新默认窗口!
至于位置,似乎什么都没有.