Coder Social home page Coder Social logo

Comments (8)

3biubiu avatar 3biubiu commented on August 23, 2024

找不到这个命令 我使用的小狼毫输入法,现在一切到代码里要转英文,它不是转英文,而是直接禁用输入法 我就想着是不是English Mode Code有问题,但是我运行不了这个命令

能具体说说吗 我有点没有听懂你的需求 ,可能是 控制自动不同,有些输入法没有开放这些东西

from auto-shift-input.

calmwaves111 avatar calmwaves111 commented on August 23, 2024

很抱歉,我提供的信息不够完整
image

image

插件版本是0.0.9,VSCode版本是1.90.1

from auto-shift-input.

3biubiu avatar 3biubiu commented on August 23, 2024

很抱歉,我提供的信息不够完整 image

image

插件版本是0.0.9,VSCode版本是1.90.1

这是插件内部引用的工具api 不是vscode提供的,vscode 当然没有了😂,开放这个设置的原因是为了 用户自定义code 值,在函数执行时使用

from auto-shift-input.

calmwaves111 avatar calmwaves111 commented on August 23, 2024

那我应该怎么用呢,我不知道怎么executingshiftlm.getlmCode,我对vscode不熟悉,不知道在哪里运行代码

from auto-shift-input.

calmwaves111 avatar calmwaves111 commented on August 23, 2024

我现在的设置是这样的,除了把最后一个改成6,其他都是默认值
image
然后用的是小狼毫0.15.0(我知道上个月更新了0.16版本,但是这个输入法配置太复杂了我还没更新)
现在是光标在注释的时候,会切换成中文,但是光标放到代码里的时候,很明显能看到输入法那里变成个叉,是禁用了输入法,不是切换成英文
PixPin_2024-06-14_10-35-53

from auto-shift-input.

3biubiu avatar 3biubiu commented on August 23, 2024

from auto-shift-input.

KagaJiankui avatar KagaJiankui commented on August 23, 2024

找不到这个命令 我使用的小狼毫输入法,现在一切到代码里要转英文,它不是转英文,而是直接禁用输入法 我就想着是不是English Mode Code有问题,但是我运行不了这个命令

本插件通过调用Win32API的SendMessageW向输入法发送消息来切换输入法, 不同输入法接受的消息lparam和wparam值不同. 可以尝试阅读小狼毫源码找到其中相应Win32API中IMM API和TSF API的相关代码, 依据具体的代码实现填入合适的English Mode Code.

from auto-shift-input.

KagaJiankui avatar KagaJiankui commented on August 23, 2024

正在尝试用ImmGetProperty做一个类似auto-shift-input-for-math的IM debug功能, 获取输入法支持的属性字段.

from auto-shift-input.

Related Issues (5)

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.