Open dotmitsu opened 2 years ago
Thank you for your feedback. Plugin has a simple heuristic to decide whether a file is ansible file or not. Can you please provide the file which was mistakenly identified as an ansible file?
I have file docker_run.yml
---
- name: Run or restart Docker Container {{ docker_container_name }}
docker_container:
name: "{{ docker_container_name }}"
image: "{{ docker_image }}"
pull: yes
command: "{{ docker_run_command | default('') }}"
state: started
restart: yes
restart_policy: always
network_mode: host
volumes: "{{ volumes }}"
log_driver: syslog
log_options:
syslog-facility: local4
tag: "{{ docker_log_tag }}"
env:
PORT: "{{ rosing_port | quote }}"
SOCKET_BACKLOG: "{{ rosing_socket_backlog | default('24') | quote }}"
WORKERS: "{{ rosing_workers | quote}}"
THREADS: "{{ rosing_threads | quote }}"
PUMA_CONTROL_URL: "{{ (rosing_control_url_var | default('')) | quote }}"
PUMA_CONTROL_TOKEN: "{{ (rosing_control_token_var | default('')) | quote }}"
RUBYOPT: "{{ (rosing_rubyopt | default('')) | quote }}"
For right assosiation I need open settings and edit fily types and add name pattern to yaml. It is uncomfortable. It would be comfortable to select the file type with the right mouse button chosing "Override file type". But I can't do this with this plugin.
And I have different yaml files in project. Some for ansible, some for our application, and I can't normaly choose which for ansible which for our app. Plugin automaticaly work with every yaml or yml file. I can't understand logic. Some files opened with plugin, some not.
Plugin doesn't have file type assosiation. Sometimes it assosiates with yml automaticaly, sometimes not. Create please file type assosiation for choosing in menu.