Skip to content
This repository has been archived by the owner on Dec 17, 2018. It is now read-only.

Autocomplete for dependencies #56

Open
joscdk opened this issue Jun 20, 2018 · 1 comment
Open

Autocomplete for dependencies #56

joscdk opened this issue Jun 20, 2018 · 1 comment

Comments

@joscdk
Copy link

joscdk commented Jun 20, 2018

Hi, first of all, really great work with this plugin!.

I have been playing a bit around with it, but i start to get some problems with no Autocomplete for SPM dependencies.
In my case, i am using the Vapor framework.

When i try to do something like:

import Vapor

public func routes(_ router: Router) throws {
    router.get("hello") { req -> String in 
        return "Hey!"
    }
}

I can with this PR #53 CMD+Click "get" to go into the module.

However if i try to add:

router.po

I get nothing (It should show router.post

Are there anything i am missing, or is it a problem in the system?, it could be nice to get this to work, as this+vscode would be a really strong alternative to Xcode :)

@vknabel
Copy link
Collaborator

vknabel commented Aug 24, 2018

This should be solvable the same way as it can be in vknabel/vscode-swift-development-environment#27 (comment) and as nuclide already does: by using other-args from .build/(debug|release).yaml.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants