Attribute Table Shortcut is a QGIS plugin that provides quick access buttons next to each layer in the layers list to open their attribute tables. This small plugin streamlines your workflow by eliminating the need to right-click layers or navigate through menus to access attribute data.
- Adds convenient buttons directly in the layers panel
- One-click access to attribute tables for any layer
- Streamlined workflow for attribute data management
- Lightweight and efficient plugin design
Create a virtual environment activate it and install needed dependencies with the following commands:
python create_qgis_venv.py
.venv\Scripts\activate # On Linux and macOS run `source .venv\bin\activate`
pip install -r requirements-dev.txtFor more detailed development instructions see development.
A symbolic link / directory junction should be made to the directory containing the installed plugins pointing to the dev plugin package.
On Windows Command promt
mklink /J %AppData%\QGIS\QGIS3\profiles\default\python\plugins\attributeshortcut .\attributeshortcutOn Windows PowerShell
New-Item -ItemType SymbolicLink -Path ${env:APPDATA}\QGIS\QGIS3\profiles\default\python\plugins\attributeshortcut -Value ${pwd}\attributeshortcutOn Linux
ln -s attributeshortcut/ ~/.local/share/QGIS/QGIS3/profiles/default/python/plugins/attributeshortcutAfter that you should be able to enable the plugin in the QGIS Plugin Manager.
On VS Code use the workspace attribute-shortcut.code-workspace. The workspace contains all the settings and extensions needed for development.
Select the Python interpreter with Command Palette (Ctrl+Shift+P). Select Python: Select Interpreter and choose
the one with the path .venv\Scripts\python.exe.
- Activate the virtual environment.
pip install pip-toolspip-compile --upgrade requirements-dev.inpip install -r requirements-dev.txtorpip-sync requirements-dev.txt
If you create or edit source files make sure that:
- they contain absolute imports:
from attributeshortcut.utils.exceptions import TestException # Good from ..utils.exceptions import TestException # Bad
- you consider adding test files for the new functionality
Install python packages listed in requirements-dev.txt to the virtual environment and run tests with:
pytestThis plugin is distributed under the terms of the GNU General Public License, version 3 license.
See LICENSE for more information.