LeetCode-OpenSource / vscode-leetcode

Solve LeetCode problems in VS Code
https://marketplace.visualstudio.com/items?itemName=shengchen.vscode-leetcode
MIT License
8.22k stars 650 forks source link

How to remove the comment like this? #383

Closed EricTao66 closed 5 years ago

EricTao66 commented 5 years ago
/*
 * @lc app=leetcode.cn id=4 lang=cpp
 *
 * [4] 寻找两个有序数组的中位数
 */

A comment like this is automatically generated in front of a new file whenever I create it. Hope add a setting to remove it.

jdneo commented 5 years ago

Hi @EricTao66,

This comment is needed to provide metadata of the file.

@lc app=leetcode.cn id=4 lang=cpp

Without it, the extension could not know the problem id of the file, thus might fail to submit/test it.

I think this request will not be in the roadmap of the extension so far. But will revisit it if we figure out a better way to get the metadata of the file. Hope you can understand.

Thanks,