设置集成终端默认位置

时间:2018-08-30 17:16:11

标签: visual-studio-code

默认情况下,打开集成终端时,它将水平打开到编辑器底部。

如何更改集成终端的默认位置,以使其与编辑器的右侧垂直对齐,就像单击“向右移动”按钮一样?

enter image description here

编辑: 希望在settings.json

中进行设置

3 个答案:

答案 0 :(得分:1)

尝试将override func collectionView(_ collectionView: UICollectionView, cellForItemAt indexPath: IndexPath) -> UICollectionViewCell { let cell = collectionView.dequeueReusableCell(withReuseIdentifier: cellId, for: indexPath) as! SoundBoardCell cell.button1.tag = indexPath.row cell.button1.addTarget(self, #selector(playAudio(sender:_), .touchDown) return cell } // make an array for your audioSounds var audioSounds = [audio1, audio2, audio3] // add func for selector that takes from audioquotes @objc func playAudio(sender: UIButton){ audioSounds[sender.tag].play } 添加到您的用户/工作区设置

enter image description here

答案 1 :(得分:0)

Image that show how to position the terminal in Visual Studio Code

您可以轻松看到图像。 而且,如果您关闭Visual Studio,则默认情况下它会在原位置打开。

答案 2 :(得分:0)

见到你很高兴,兄弟!!! 请把我的问题标记为垃圾邮件,因为我不确定我是否理解你。

简单的解决方法是:⌘J(//切换“面板”视图) 此命令将使用最新配置打开面板视图。

我写了一篇关于此的文章:https://medium.com/@d_danailov/productivity-with-vs-code-tips-and-tricks-51ae11e2e087

希望我的帖子回答您的问题。