簡體   English   中英

制表符、空格和輸入鍵在 vs 代碼中不起作用

[英]Tab, space and enter keys not working in vs code

當我在 vs 代碼中運行 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
  }
}

當我按 Enter 時,我的 cursor 無法進入下一行。 同樣,制表鍵和空格鍵也不起作用。

tab無法正常工作之前,我遇到了同樣的問題,我只需按 Windows 上的ctrl+m快捷方式就解決了它。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM