Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

如何给自定义的模板增加command? #3

Open
Ir1d opened this issue Apr 28, 2018 · 3 comments
Open

如何给自定义的模板增加command? #3

Ir1d opened this issue Apr 28, 2018 · 3 comments

Comments

@Ir1d
Copy link

Ir1d commented Apr 28, 2018

就是添加一个cpp的模板之后,不知道怎样加一个类似extension.tmplcpp的东西

现在想要实现类似sublimetmpl的create new file with template 我是用

    "multiCommand.commands": [
        {
            "command": "multiCommand.createFileWithTmpl",
            "sequence": [
                "workbench.action.files.newUntitledFile",
                "extension.tmplcss",
            ]
        },
    ],

想问下有没有更好的方法QAQ

谢谢!

@RalfZhang
Copy link
Owner

抱歉漏掉了消息 _(:з」∠)_
目前暂时不支持,我得研究一下文档找解决方案- -
你可以打开 .cpp 文件后直接用 Tmpl: Create Template 来运行,它会自己找到你添加的 cpp.tmpl 文件

(等我最近忙完就试试添加这个功能(当然,欢迎 PR!

@Ir1d
Copy link
Author

Ir1d commented Oct 23, 2018

谢谢~
我现在在用 multiCommand 插件,感觉其实也还可以 😄

@ycllz
Copy link

ycllz commented Jul 1, 2019

请问使用了哪些库的,编译报错好多,谢谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants