【问题标题】:Tab, space and enter keys not working in vs code制表符、空格和输入键在 vs 代码中不起作用
【发布时间】:2022-01-15 11:30:55
【问题描述】:

当我在 vs code 中运行 flutter 时,输入、制表符和空格键无法正常工作。

import 'package:flutter/material.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  const MyApp({Key? key}) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return Container(); //my cursor is in center of the brackets
  }
}

当我按下回车键时,我的光标无法到达下一行。同样,tab 键和空格键也不起作用。

【问题讨论】:

    标签: flutter dart visual-studio-code android-emulator adk


    【解决方案1】:

    tab 无法正常工作之前,我遇到了同样的问题,我只需按下即可解决 ctrl+m Windows 上的快捷方式。

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2018-05-19
      • 1970-01-01
      • 1970-01-01
      • 2021-01-11
      • 1970-01-01
      • 2022-07-01
      • 2018-02-07
      • 2018-09-21
      相关资源
      最近更新 更多