Giter Site home page Giter Site logo

codegeeker's Introduction

Codegeeker

VSCode code generation Extension based on SalesForce CodeGen.

Source code of Extension: https://github.com/git-cloner/codegeeker

Source code of Codegen : https://github.com/git-cloner/codegen

Online demo: https://gitclone.com/aiit/codegen

VSCode Extension:

Extension install

In VSCode,press ctrl+shift+x,search Codegeeker and install.

Extension usage

If you use Python or PlainText, enter a colon (:) in the VScode editor to display the generated candidate code snippet.

If it is C, C++, Go, JavaScript, Java, etc., enter { in the VScode editor to display the generated candidate code fragment.

Implementation principle

Enter triggerCharacters (:or {), post current line to the backend (https://github.com/git-cloner/codegen) to generate the code, and the backend uses salesforce's CodeGen model (https://github.com/salesforce/CodeGen) to generate the code snippet.

中文说明

基于 salesforce codegen的VSCode代码生成插件。

插件源码:https://github.com/git-cloner/codegeeker

生成源码:https://github.com/git-cloner/codegen

在线演示:https://gitclone.com/aiit/codegen

1、插件安装

在VSCode里,按ctrl+shift+x,搜索Codegeeker,安装。

2、插件用法

如果是python或plaintext,在vscode编辑器中输入冒号(:),显示生成的候选代码片断。

如果是c、c++、go、javascript、java等,在vscode编辑器中输入{,显示生成的候选代码片断。

3、实现原理

输入triggerCharacters(:或{),将本行代码post到后台(https://github.com/git-cloner/codegen)生成代码,后台使用salesforce的CodeGen模型(https://github.com/salesforce/CodeGen)生成代码片断返回。

codegeeker's People

Contributors

little51 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.