Comments (4)
Do you know of a way to get completion added? I would be willing to add some for this mode, but I do not know where I would find the keywords for kubernetes files.
I think you don't need to find and add some more. Just see what you need and just make it become a yasnippet template.
Also do you plan to do anything with Helm in the future?
Helm template is jinja file, so if you want to support helm, you should write a new helm-k8s-mode (because helm-mode name had taken) instead of using this mode
from emacs-k8s-mode.
Although I do agree that creating a yassnippet is convenient, I am still early in my journey and what I need is still kinda hard to determine. I was thinking of writing a completion backend with docs so that people like me can see the purpose of what they are using.
Completion in kubernetes for the key values would be really helpful but it's a little difficult considering the contextual dependency of nested keys. Like spec can be a key under templates & service at two different levels.
from emacs-k8s-mode.
If I understand correctly, seems you should learn about company-mode for the completion feature. You will have to write a new company-backend function
from emacs-k8s-mode.
You can learn from https://github.com/rafalcieslak/emacs-company-terraform and https://github.com/krzysztof-magosa/company-ansible
from emacs-k8s-mode.
Related Issues (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 emacs-k8s-mode.