微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

VSCode,使用时用户片段未显示$

如何解决VSCode,使用时用户片段未显示$

我希望这个用户快速插入调试命令,但是完成后,它不会显示“ $”符号。

import UIKit
import Flutter

@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
    var methodChannel: FlutterMethodChannel!
  override func application(
    _ application: UIApplication,didFinishLaunchingWithOptions launchOptions:                 

[UIApplication.LaunchOptionsKey: Any]?
  ) -> Bool {
    
    let rootViewController : FlutterViewController = window?.rootViewController as! FlutterViewController
    methodChannel = FlutterMethodChannel(name: "com.example.channeltest/changetext",binaryMessenger: rootViewController as! FlutterBinaryMessenger)
    
    //This call would obvIoUsly be somewhere else in a real world example,but I'm just
    //testing if I can invoke the method in my dart code at all..
    methodChannel.invokeMethod("some_method_name",arguments: nil)
    
    GeneratedpluginRegistrant.register(with: self)
    return super.application(application,didFinishLaunchingWithOptions: launchOptions)
  }
}

使用 frole = # here I need to set a variable via the following message .family role MaosFamily post = { "_id": self.familydb.count_documents({}) + 1,"role": frole,"voice": None,"boss": ctx.author.id,"zam": None } self.shopdb.insert_one(post) 时得到以下信息:

"Debug MysqL": {
   "prefix": "debug","body": [
          "lib::$db->debug = true;"
        ],"description": "debug MysqL"
},

任何想法可能是什么问题?

解决方法

您需要投入其他美元来逃脱第一个美元:lib::$$db->debug = true;

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。