Comments (1)
Ok nvm, I have it working.
Install the https://atom.io/packages/symbol-gen package.
In the package settings, click the View Code button and add the following lines to lib/.ctags
(from https://lemmasoft.renai.us/forums/viewtopic.php?t=21622):
--langdef=Renpy
--langmap=Renpy:.rpy
--regex-renpy=/^label[ \t]*([a-zA-Z0-9_]+):/\1/l,label/
--regex-renpy=/^define[ \t]*([a-zA-Z0-9_.]+)/\1/d,definition/
--regex-renpy=/^[ \t]*\$?[ \t]*([a-zA-Z0-9_]+)[ \t]*=/\1/v,variable/
--regex-renpy=/^screen[ \t]*([a-zA-Z0-9_]+)/\1/s,screen/
--regex-renpy=/^style[ \t]*([a-zA-Z0-9_]+)/\1/S,style/
Go back to your project and press ctrl-alt-g
(or use Symbol Gen: Generate in the Command Palette. It will generate a .tags
file in your project root.
And that's it! You can now press ctrl-shift-r
and fuzzy search your game labels, as well as right click on something like jump start
and Go To Declaration.
from language-renpy.
Related Issues (15)
- Add snippets enhancements HOT 2
- default HOT 1
- Highlighting issue with multiple square-bracketed variables in a string HOT 1
- Highlighting [[ and {{ escape sequences in Ren'Py text HOT 1
- Colorblindness issue HOT 1
- Grammar attempts to include non-existant 'source.regexp.python.renpy' scope HOT 3
- How can I contribute for a new language?
- Getting Started HOT 3
- TextMate bundle for PyCharm support
- Error publishing HOT 1
- Snippets suggestions HOT 1
- Requests to add new keywords HOT 3
- Known issues HOT 10
- Remove the Python scope HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from language-renpy.