Giter VIP home page Giter VIP logo

go.novaextension's People

Contributors

allcontributors[bot] avatar gwynethllewelyn avatar jfieber avatar seripap avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

go.novaextension's Issues

The plugin needs to be reloaded each time a new .go file is created

The plugin needs to be reloaded each time a new empty .go file is created or a new empty .go file is opened.

MacOS 12.1 (21C52)
Nova app 8.3 Build 343365
Go Extension 0.4.3

Extension Console Log:

Go Language Server [23:57:11.598000] 2021/12/31 23:57:11  no completions found: %!w(getting file for Completion: <nil> (package completions: line is beyond end of file 1))
position={3 0}
---
Go Language Server[23:57:11.857000] 2021/12/31 23:57:11 imports fixes: AllImportsFixes: /Volumes/Macintosh HD/Users/user/code/sn/cmd/web/test.go:1:1: expected ';', found 'EOF' (and 2 more errors)
	file="/Volumes/Macintosh HD/Users/user/code/sn/cmd/web/test.go"
---
Go Language Server[23:57:11.857000] 2021/12/31 23:57:11 analyzer "tests" failed: analysis tests for package github.com/user/sn/cmd/web panicked: runtime error: invalid memory address or nil pointer dereference
---
Go Language Server[23:57:11.858000] 2021/12/31 23:57:11 no completions found: %!w(getting file for Completion: <nil> (package completions: line is beyond end of file 1))
	position={3 0}
---
Go Language Server[23:57:11.892000] 2021/12/31 23:57:11 no highlight: line is beyond end of file 1
	URI=file:///Volumes/Macintosh HD/Users/user/code/sn/cmd/web/test.go
---
Go Language Server[23:57:12.153000] 2021/12/31 23:57:12 no highlight: line is beyond end of file 1
	URI=file:///Volumes/Macintosh HD/Users/user/code/sn/cmd/web/test.go

Autocomplete is missing function names

I'm getting a bunch of these:

Screen Shot 2022-01-25 at 13 15 26

Some functions have their name in really big letters, some others don't have a name at all and only display from the arguments onwards

Crashes Nova in large non-Golang project

Hello.

I'm not sure if there is a simple filter that can be applied to prevent running in a non-Go repo, or exactly what is going on here, but if I enable this extension and open up a very large TypeScript codebase (tens of thousands of files), this extension will go CPU crazy and eventually crash Nova.

There are no Golang files or files with a .go extension in this project folder. Just lots and lots of TypeScript (.ts) files.

It's not a deal breaker as I can disable the extension and re-enable it when needed. Thanks for the tool!

Cannot activate Run/Debug in Nova

Hello Gwyneth, I've just downloaded the demo of Nova and have installed your extension along with the other two Go extensions. Visually it all looks good, although I notice that it seems to be Spicer's Go Tools which provides the syntax highlighting.

The thing that has me stumped is how to enable Run and Debug. Ideally, the debugging would be done in conjunction with Derek Parker's Delve tool, but at the moment all the useful options are greyed out.

Is it something blindingly obvious that I have missed or is the ability to actually run programs only available in the paid version of Nova? I can't imagine that this is the case, but...

Thanks in advance for any clue that you can give me!

Cheers,
Carl

Ranges of edits cannot be applied

Sometimes when I try to tab (for example fmt.Println) Nova shows me this error:

Ranges of edits cannot be applied to document "<path-to-go-file>", as they exceed the current content.

I censored the path but it would show the path of the file. Any ideas why this is happening? Also I noticed that sometimes the IntelliSense doesn't work at all and the only thing it suggests is fmt.Fprint (only tested fmt for now)

Nova opens go.mod in video player

When I click on a go.mod file, Nova opens a dysfunctional video player interface instead of an editor.

Since this extension provides a syntax for go.mod files, I assume that either a recent Nova update has broken this, or there is some setting I am unable to find to fix this.

I am mainly opening this issue to see whether this is a problem with my personal configuration or affects other people as well.

Inline comments parsing problem

Code such as:

//////////////////////////////////////////////////////////////////////
// Foo functions
//////////////////////////////////////////////////////////////////////

// foo bar cat.
func foo(s string) {
}

fails to render properly. (Inserting a space after the initial "//" on lines 1 and 3 fixes this.)

(Really great work -- thanks very much for taking the time to create this extension!)

Unable to install

I'm unable to install the go extension on the panic nova editor. it takes forever to install and it shoes "<>" under the name of the extension while downloading. (not sure if this is the desired behavior)
It also shows an exclamatory mark in front of the extension name in the extensions list

Typing lags when language server is turned on

Nova 9.2

Thank you for the fantastic extension! I'd like to use the language server setting ON, but whenever I do so, typing becomes very laggy and you can tell the editor is waiting for the LSP to continue. Is there an additional setting I can set for LSP to be done in the background so that I don't experience this? Has this been reported before?

Thanks again

Gopls Binary Location

I've been able to get gopls barely working with nova. The issue is that the gopls binary needs to be fetched statically from the go/bin directory. Example: /go/bin/gopls. I'd be happy to make a PR with my changes, if you'd like.

Screen Shot 2020-09-17 at 11 40 18 AM

Although, it's still extremely unstable, and I'm not sure if it's Nova's fault. But, I'll keep working away at it.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.