Code Monkey home page Code Monkey logo

sdk's Introduction

sdk's People

Contributors

bantya avatar polyvertex avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

sdk's Issues

Enhancement request: custom action description / label

I have a plugin which let one call/email people (based on Outlook or VCF export). When I type CALL SOLER I get the options below:

image

As can be seen, I have multiple call options which are to different numbers but becasue they are all the same action, their description is also the same, e.g.. "Call the mobile number".

I am looking for a way to have the option to customize the action label when it is displayed, like:

image

I assume that this can be implemented with an optional method the plugin would implement that would get the targe, bag and action and would return an alternate string or None to keep the default.

Help with set up

Hello. This is not a bug report, just asking for help. Hope that is ok.

I would like to make some plugin for personal use but I have zero experience with python and having problems to set up SDK.

1. Executing cmd/kpenv does not create KEYPIRINHA_SDK in user or system variables.

2. Where are modules to import? To get auto completion etc in skeleton created via kptmpl

  1. How to add interpreter to IDE? Readme mentions some script. I tried to add VSCodeProjects\SDK-master\bin\python\x64\python.exe to Visual Studio Code (I know it is not IDE) but error happens:
Fatal Python error: Py_Initialize: unable to load the file system codec
ModuleNotFoundError: No module named 'encodings'
Current thread 0x000032b8 (most recent call first)

Thanks to any help

EDIT: Found answers to all questions

installing external python modules

I recently started building a package for Keypirinha, and after cloning and configuring the SDK, I noticed that it does not support pip for installing external python modules, and after looking at some other package repositories, it seems that copying and pasting the module into the project folder is the only way to do this for now. I think something like virtualenv will be quite helpful in developing the packages using external modules.

Update to 2.26

I was wondering if the SDK will get an update to match the python distribution in the current version of keypirinha.

I think since KP 2.25 it is Python 3.7.4 but this repository still has python 3.6.3.

"make build" should actually build / perform a syntax check

Currently, "make build" does not actually build anything but blindly packages the files. IMO it should ensure that the plugin actually compiles by really building the plugin for testing, or at least perform some kind of syntax check.

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.