Giter Club home page Giter Club logo

Comments (17)

metasong avatar metasong commented on July 17, 2024

I've tested metago extension (V1.23.0) on the VSCode (1.11.2) and can't repeat the problem. can you give me more detail information?

from metago.

rmn-nknv avatar rmn-nknv commented on July 17, 2024

I have recently installed Fedora 25 and fresh version vscode from official repo. I removed ~/.vscode and ~/.config/Code for this test, so I have no other extensions and default settings.

  1. Start VsCode
  2. Install metaGo extension
  3. Reload VsCode
  4. Open Command Palette
  5. Choose metaGo Goto command

image

from metago.

 avatar commented on July 17, 2024

Right after install plugin i had the same issue. I'm typing Alt+; and get warning message "command 'MetaGo' not found". Also i had error "Activating extension metaseed.metago failed: config.get(...).split is not a function" in developer tools.

OS: Windows 10
VS Code version 1.11.2
image

from metago.

rmn-nknv avatar rmn-nknv commented on July 17, 2024

I have other errors in console:

extensionHost.ts:284[Extension Host] Activating extension `metaseed.metago` failed: Cannot find module './bookmark'.d.logExtensionHostMessage @ extensionHost.ts:284

extensionHost.ts:284[Extension Host] Activating extension `metaseed.metago` failed:  Cannot find module './bookmark'd.logExtensionHostMessage @ extensionHost.ts:284

extensionHost.ts:284[Extension Host] Here is the error stack:  Error: Cannot find module './bookmark'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Function.J.i._load (/usr/share/code/resources/app/out/vs/workbench/node/extensionHostProcess.js:4:374834)
    at Module.require (module.js:483:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/home/roman/.vscode/extensions/metaseed.metago-1.23.0/out/src/bookmark/index.js:6:20)
    at Module._compile (module.js:556:32)
    at Object.Module._extensions..js (module.js:565:10)
    at Module.load (module.js:473:32)
    at tryModuleLoad (module.js:432:12)

mainThreadExtensionService.ts:111Activating extension `metaseed.metago` failed: Cannot find module './bookmark'.

from metago.

metasong avatar metasong commented on July 17, 2024

it seems the error comes from wrong configuration of metaGo.decoration.characters.
the default one is "k, j, d, f, l, s, a, h, g, i, o, n, u, r, v, c, w, e, x, m, b, p, q, t, y, z". it's a string.
in new release, i've make sure metaGo will run with default config, even if user gives wrong configuration. and the user will be notified when config is wrong.

@n-roman @oldviking, thank you very much for your detail information.
please try the new version, any problem, keep in touch!!

from metago.

rmn-nknv avatar rmn-nknv commented on July 17, 2024

Sorry, but it's not fixed in 1.24.0.
I think first problem is that file src/bookmark/index has import './bookmark', but the real file has name Bookmark.
Linux file systems are case sensitivity.
Still not work, there is some another problem, that I will identify later. Now I have to go to work

from metago.

rmn-nknv avatar rmn-nknv commented on July 17, 2024

But in repo you have file "bookmark"... strange...

from metago.

rmn-nknv avatar rmn-nknv commented on July 17, 2024

After fixing this imports I have no error anymore, but as I said, still don't work. Log after pressing Alt+; :

[Extension Host] Congratulations, your extension "metago" is now active!
extensionHost.ts:284 [Extension Host] metago:TypeError: Cannot read property 'then' of undefined

I will be in touch after several hours

from metago.

metasong avatar metasong commented on July 17, 2024

i've tried to fix this 2 problems in new version.
have a try.
thanks @n-roman

from metago.

 avatar commented on July 17, 2024

For me problem is't fixed. I have same warning message, but now have no errors in developer tool.

from metago.

metasong avatar metasong commented on July 17, 2024

@oldviking , your problem is because the amVim plugin. that extensionregister the vscode 'type' command on startup, and never release it. while metaGo just dynamicly register this command when needed. but at the same time, vscode only allow one register on that command, that means when metaGo try to register that command, it will fail. currently there is no solution for this problem, maybe we should submit a bug to amVim and other Vim like extension, and let them also do dynamic command using for the 'type' command.
now you have to make a choice, the two can not coexist.

from metago.

 avatar commented on July 17, 2024

@metasong, I do not agree with you that this is a problem with amVim(maybe so but in any case not only). Now i have only one extension, which is MetaGo, and it's still no working.

P.S. Well, now I've deleted everything that relates to MetaGo from my config files. I don't have warning message anymore. All command is working well, except where need to type a letter. You are right, this problem exist only with amVim (and other vim extensions).

from metago.

metasong avatar metasong commented on July 17, 2024

@oldviking what your current problem now, can you give me more information: the message on status bar, the log in console, and the environment, and any config about metago, have you tried restart vscode after uninstall other extension i.e. amVim.

my current environment is windows 10 and vscode 1.11.2, and it works fine.

from metago.

 avatar commented on July 17, 2024

@metasong, i have no problem with MetaGo now, it's working as expected. Only with vim-like extensions (They are don't allow me type a letter).

Thank you, @metasong, for resolving my problem.

from metago.

rmn-nknv avatar rmn-nknv commented on July 17, 2024

It works! Thank you, @metasong, for the fix and for excellent extension!

from metago.

metasong avatar metasong commented on July 17, 2024

@n-roman and @oldviking, so glad to hear the goog news from you two.
currently i am try a new feature to navigate between files: mark. alt+' to set/unset mark, alt+/ to list mark and navigate. i.e. after show the list, press c then press enter to clear marks in current file, n to goto next mark, p to go to ptevious one.
if you like you can have a try, it included in the new version. cheers!

from metago.

metasong avatar metasong commented on July 17, 2024

@n-roman and @oldviking, so glad to hear the goog news from you two.
currently i am try a new feature to navigate between files: mark. alt+' to set/unset mark, alt+/ to list mark and navigate. i.e. after show the list, press c then press enter to clear marks in current file, n to goto next mark, p to go to ptevious one.
if you like you can have a try, it included in the new version. cheers!

from metago.

Related Issues (20)

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.