GithubHelp home page GithubHelp logo

huangshengbo / vs-code-extension-doc-zh Goto Github PK

View Code? Open in Web Editor NEW

This project forked from liiked/vs-code-extension-doc-zh

0.0 1.0 0.0 506 KB

VS Code插件开发文档-中文版

License: MIT License

JavaScript 100.00%

vs-code-extension-doc-zh's Introduction

VS Code 插件开发文档

欢迎来到为巨硬填坑的中文文档😆

📚 查看中文文档

📚 原文档

提问、纠错和参与

  • 提问:欢迎大家在issue区对插件开发进行提问,虽然这里不是官方答疑平台,不过你可以在这里和国内的插件开发者进行交流。

  • 纠错和润饰:在翻译过程中难免会出现笔误、翻译不到位、存在优化空间等情况,当然最严重的应属于翻译的章节或者片段难以理解,请在issue中不吝赐教,我们会优先处理这类问题。

  • 参与:由于国内已经有过一版VS Code文档的社区翻译版本,但是质量,emmmmm……,所以本项目会采取较为严格的翻译审查,若你有热情一同学习和贡献自己的力量,请参考我们的翻译指南。

翻译计划

翻译计划已移动到Progress

如果你有兴趣、能力和时间,欢迎贡献代码

翻译指南

由于原文档过于追求平白易懂,平添了许多反复解释和略显啰嗦的句子和语法,翻译者需要注意,本项目更追求易懂和流畅,不要求逐字翻译,与原文出入最低做到70%即可,但不可扭曲其原本的意思,任何翻译中的困难可在issue中探讨。

  • 及时更新术语表

  • 禁止机器翻译

  • 约定用法 如Promise通常不做翻译,若有必要或遇到困难的词语,请使用“中文(English)”的方式来显示,如:异步请求(promise),在有参考资料后得出的翻译结果,需要在术语表释义后面注明词汇出现来源或释义链接。

  • 避免冗余

    By implementing a `WebviewPanelSerializer`, your webviews can be automatically restored
    when VS Code restarts. Serialization builds on `getState` and `setState`, and is only
    enabled if your extension registers a `WebviewPanelSerializer` for your webviews.

    后一句and is only enabled if your extension registers a WebviewPanelSerializer for your webviews再翻译出来显得多余,可以不翻译。

  • 平白易懂

    Consider using a helper library to construct your HTML strings, or at least
    ensure that all content from the user's workspace is properly sanitized.

    虽然这里HTML 字符串贴合HTML strings的表述,但是适当的加工则更有利于阅读,最终可考虑翻译为“尝试使用辅助库构建你的HTML模板,或者确保所有来自用户工作区的内容都通过了审查”。

  • 兼收并蓄

    在多人合作翻译中,个人风格可能与已提交翻译不匹配,但这种情况下不建议修改现有的翻译成果。

  • 术语翻译优先参考github的开源翻译项目

开发指引

本项目依赖nodejs,npm,docsify官方文档。另外对新手不太友好(萌新等级警告⚠️请勿轻易尝试)。

贡献代码

  • Markdown的格式要求,尽量避免使用*用于表示列表,而是使用-等其他符号
  • 贡献流程:fork/clone本项目,根据目前的项目进度和自己的兴趣,挑选进行中的翻译,在issue面板中创建一个help translate告知项目owner,通过后创建分支如“fix/chapter_testing_extensions”,修改文件,提交pr到“branch/docs”
  • 请在翻译中遵循翻译指南,否则本项目的owner可能会与你进行深度的讨论~
// 本地启动开发
npm i docsify-cli -g
docsify serve docs

vs-code-extension-doc-zh's People

Contributors

ddzy avatar liiked avatar think2011 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.