Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    Kim 金可明
    @kkoomen
    Welcome to the vim-doge community. Any type of project-related topics can be discussed here. Whether it's a regular question, a bug or an on-going discussion about a new feature. Everything is welcome. No vulgar language and be nice to others.
    Thomas Vigouroux
    @vigoux
    Hey there
    Kim 金可明
    @kkoomen
    Hi
    Attila Strba
    @attilastrba

    Hi Guys, the plugin is awesome and I use it a lot but I have one question. I can't use it for groovy files. Any idea how to debug the problem?
    Here example function of a .groovy extension and no docu is generated, although it works in python or c++. The groovy file is from a Jenkinsfile section.

    def debug_run(String param) {     
           def ssh_cmd = ['bash',  '-c',    param ]
    }

    These are the settings in my .vimrc

      let g:doge_doc_standard_python = 'google'
      let g:doge_doc_standard_java = 'javadoc'
      let g:doge_doc_standard_groovy = 'javadoc'
      let g:doge_mapping='<Leader>dx'
      let g:doge_filetype_aliases = {
            \  'java': ['groovy']
            \}
    Kim 金可明
    @kkoomen

    @attilastrba You have two problems:

    1) No need to add groovy as an alias for java, because the plugin ships with this as a default setting, so you can remove the g:doge_filetype_aliases variable. See here: https://github.com/kkoomen/vim-doge/#gdoge_filetype_aliases

    1 reply
    Sorry, you only have 1 problem. I forgot to change that part before sending.
    Attila Strba
    @attilastrba

    Sorry, you only have 1 problem. I forgot to change that part before sending.

    so you mean if I remove the alias should work?

    Kim 金可明
    @kkoomen
    Both should work. I'm arriving home soon and will have a look then. For now try to just remove the alias
    Attila Strba
    @attilastrba
    thank you very much Kim
    Attila Strba
    @attilastrba
    Ok it turns out the problem is if there is no class XX {definition. Once I add it the generating works @kkoomen
    Kim 金可明
    @kkoomen
    Ahh, yeah I've been in that situation myself.