Skip to content

FASUZO/Cadence_env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cadence Allegro 快捷键查看器 (Cadence Allegro Shortcut Viewer)

English Version

中文说明

Cadence Allegro 快捷键查看器是一个直观的网页工具,用于解析和可视化 Cadence Allegro PCB Editor 的 env 配置文件中的快捷键设置。它通过虚拟键盘布局展示快捷键,方便用户快速查找和学习快捷键组合。

主要功能

  • 📂 env 文件解析:一键加载并解析本地的 env 配置文件。
  • ⌨️ 虚拟键盘交互:在网页上的虚拟键盘中直观地高亮显示已绑定的快捷键。
  • 🔄 多修饰键支持:支持查看不同组合状态下的快捷键,包括默认小写 (Normal)、大写 (Caps Lock)、Shift 和 Ctrl 组合。
  • 🖱️ 鼠标快捷键支持:显示滚轮向上、滚轮中键、滚轮向下等鼠标操作的快捷键绑定。
  • 🌐 命令自动翻译:内置命令翻译功能,将复杂的系统命令转换为容易理解的中文说明。
  • 🎹 全键盘扩展:支持切换显示全尺寸键盘,包含导航键区和方向键区。

使用方法

  1. 在浏览器中打开 index.html 文件。
  2. 点击页面上方的“加载 env 文件”按钮,选择你的 Cadence Allegro env 配置文件(通常位于系统中类似 C:\Cadence\SPB_17.4\share\pcb\text\env%HOME%/pcbenv/env 的位置)。
  3. 加载完成后,页面上的虚拟键盘将会自动标注出当前配置下的快捷键。
  4. 你可以点击页面上的模式切换按钮或直接点击虚拟键盘上的 Caps LockShiftCtrl 等修饰键,来查看在特定组合状态下的快捷键分布。

English Version

Cadence Allegro Shortcut Viewer is an intuitive web-based tool designed to parse and visualize keyboard shortcuts from the Cadence Allegro PCB Editor env configuration file. It displays the shortcuts on a virtual keyboard layout, making it easy for users to quickly find and learn shortcut combinations.

Key Features

  • 📂 env File Parsing: Easily load and parse your local env configuration file with a single click.
  • ⌨️ Interactive Virtual Keyboard: Intuitively highlights bound shortcuts on a virtual keyboard right in your browser.
  • 🔄 Modifier Key Support: View shortcuts under different modifier states, including Normal (lowercase), Caps Lock, Shift, and Ctrl combinations.
  • 🖱️ Mouse Shortcut Support: Displays shortcut bindings for mouse actions such as scroll up, middle click, and scroll down.
  • 🌐 Command Translation: Built-in translation smoothly converts complex system commands into easily understandable descriptions.
  • 🎹 Extended Keyboard: Supports toggling an extended keyboard view, which includes the navigation and arrow key clusters.

How to Use

  1. Open the index.html file in your preferred web browser.
  2. Click the "加载 env 文件" (Load env file) button at the top of the page to select your Cadence Allegro env configuration file.
  3. Once loaded, the virtual keyboard on the page will automatically mark the configured shortcuts based on your file.
  4. You can click the mode indicators on the page or the modifier keys (Caps Lock, Shift, Ctrl) directly on the virtual keyboard to view shortcut bindings for specific combinations.

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors