Git Product home page Git Product logo

zhangf911 / vsc-cec-ide Goto Github PK

View Code? Open in Web Editor NEW

This project forked from qxchuckle/vsc-cec-ide

0.0 1.0 0.0 11.34 MB

一个插件,国产化你的VSCode,来源于CEC-IDE,有敏感词检测、防沉迷等功能,这下自主创新了!

Home Page: https://marketplace.visualstudio.com/items?itemName=qcqx.cec-ide

License: Apache License 2.0

JavaScript 0.94% TypeScript 87.13% CSS 7.18% HTML 4.75%

vsc-cec-ide's Introduction

CEC-IDE

国产化你的VSCode,附带敏感词检测、防沉迷等功能

image

已上架VSCode插件市场CEC-IDE,Open VSX:CEC-IDE,下载vsix可前往releases

命令: Ctrl+Shift+P 打开命令中心

  1. CEC-IDE 进行国产化(国产化只是修改VSC的UI样式,不执行也能使用敏感词等功能)
  2. CEC-IDE-RESTORE 去除国产化

image

注意:

  1. 请确保以管理员身份运行VSCode。
  2. 最好不要多次执行 CEC-IDE,除了首次,后续执行 CEC-IDE 前请先执行 CEC-IDE-RESTORE。若没能国产化,请提 Issues。
  3. 提示code损坏请装 Fix VSCode Checksums 插件,然后执行 Fix Checksums: Apply 命令。

在设置中可以自定义侧边栏视图的一些信息:

image

实用功能

1、敏感词检测

独立的敏感词检测插件:sensitive-word-detection 是本插件敏感词检测功能的独立版本

在任意文件,右键,点击敏感词检测,将会持续检测该文件是否有敏感词,若文件关闭或没有敏感词,则停止检测。右键点击停止检测敏感词可以手动停止检测。即使换行(最多隔一行)且隔着干扰字符也能检测到。

快捷键: alt+shift+m 检测,alt+shift+n 停止检测。

命令:敏感词支持热重载

  1. CEC-UploadSensitiveWordsFile 上传自定义敏感词txt文件,格式:一行一个敏感词。
  2. CEC-ResetSensitiveWordsFile 重置为插件自带的敏感词。

image

有快速修复功能,一键替换该敏感词或所有敏感词为***

点击右下角状态栏按钮,也能开始检测或停止检测,且在检测中会显示当前活动编辑器含有的敏感词数。

image

敏感词来源:tencent-sensitive-words 【有删改】

2、青少年防沉迷模式

启用青少年模式后(默认关闭),右下角会新增一个状态栏项,记录当天编辑器使用时间。若超过所设置的防沉迷时间(默认2小时),则会提醒关闭编辑器,每分钟弹一次提醒。

image

若未启用青少年模式,则每次打开编辑器,都会提醒开启青少年模式。

image

可以在设置中对青少年模式进行自定义规则,包括关闭防沉迷提醒、关闭提醒开启青少年模式等。

image

这下自主创新了

VeryCapture_20230829231751

接下来,本项目将进一步聚焦解决数字产业核心技术的“卡脖子”难题,牵住数字关键核心技术自主创新这个“牛鼻子”,强化自主创新项目整合,善用GITEE建设形成的人才聚集效应,切实提高数字关键核心技术创新能力,持续彰显科技创新示范效应。

VSC图标修改

image

软件的图标修改插件做不到

请下载仓库内 CEC-IDE.ico 自行右键-属性-更改图标(对于MacOS用户,请使用 CEC-IDE.icns)

CEC-IDE English Document

Differentiate your VSCode with Chinese characteristics

The plugin has been launched in the VSCode plugin marketCEC-IDE

Command:

  1. CEC-IDE for Chinese characteristics
  2. CEC-IDE RESTORE Remove Chinese characteristics

Attention:

  1. Please ensure to run VSCode as an administrator.
  2. It is best not to execute CEC-IDE multiple times. Except for the first time, please execute CEC-IDE RESTORE before executing CEC-IDE in the future. If localization is not possible, please mention Issues.
  3. If the code is damaged, please install the Fix VSCode Checksums plugin and execute the Fix Checksums: Apply command.

Next, this project will further focus on solving the "bottleneck" problem of core technologies in the digital industry, holding onto the "bull nose" of independent innovation in digital key core technologies, strengthening the integration of independent innovation projects, making good use of the talent aggregation effect formed by the construction of GITEE, effectively improving the innovation ability of digital key core technologies, and continuously demonstrating the demonstration effect of technological innovation.

Practical functions

1、Sensitive word detection for Chinese characteristics

In any file, right-click and click on Sensitive Word Detection to continuously detect whether the file has sensitive words. If the file is closed or does not have sensitive words, detection will stop.

Source of sensitive words: tense sensitive words with deletion and modification

Command:

  1. CEC UploadSensitiveWordsFile Upload a custom sensitive word txt file in the format of one sensitive word per line.
  2. CEC ResetSensiveWordsFile Reset to the sensitive words that come with the plugin.

整活项目,顺带学习下VSCode插件开发。
本项目仅供个人学习使用。图片等资源来源于互联网,如有侵权请联系删除。


vsc-cec-ide's People

Contributors

qxchuckle avatar marcusyyds avatar lihugang avatar tianli0 avatar redish101 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.