Giter Site home page Giter Site logo

Comments (11)

schroef avatar schroef commented on July 17, 2024

Sorry had done proper research. It seems it wasnt enabled. But by doing so i see errors about a missing text file

It looks like the lib folder is missing. ill try to download and install it again from this gitHub and do a manual install. Hope this fixes this.

Errors in the dev tool
screen shot 2018-10-07 at 20 24 19

Content bracket display shortcut folder
screen shot 2018-10-07 at 20 26 09

EDIT
seem the version online here also is missing this folder

from brackets-display-shortcuts.

schroef avatar schroef commented on July 17, 2024

When i deleted it and did a reinstall using plugin/addon manager. I get this error

Again i see that missing folder and file. Im not sure where this comes from, because it doesnt seem to be in your code. When i did a search for these files or text in the code, its not there. Do these need to be created by Brackets orso?

screen shot 2018-10-07 at 20 33 17

from brackets-display-shortcuts.

schroef avatar schroef commented on July 17, 2024

IM wild guessing here, in other plugins i see they call or import the module 'mustache'. In this plugin i dont see it get imported i think?

I dont know much about this code or language. I know a bit of Python and some other.

from brackets-display-shortcuts.

schroef avatar schroef commented on July 17, 2024

Okay that was the fix :)

i added this line below CodeMirror import in main.js:33

brk.Mustache = brackets.getModule("thirdparty/mustache/mustache");

Now it works again :)
screen shot 2018-10-07 at 20 43 50

from brackets-display-shortcuts.

redmunds avatar redmunds commented on July 17, 2024

Thanks. Do you want to submit a pull request?

from brackets-display-shortcuts.

redmunds avatar redmunds commented on July 17, 2024

This is now fixed. Thanks for filing bugs. Thanks even more for telling me what the fix was :)

from brackets-display-shortcuts.

schroef avatar schroef commented on July 17, 2024

hahah that was easy fix right ;)

I guess not much people use this or they are Windows users. This bug probably has ben here for a long while.

PS for what can i use the action "Copy to document"?
I went looking for this add because i wanted to add shortcuts to the splitview and vertical/horizontal splitview. It took me quite long to actually figure out that they can easily be added in the settings files. This part isnt really proper documented i must say.

THere is also writing about the function "Copy to document". But what i dont understand is the usage for this, the formatting cant be used in Brackets itself, atleast not in setttings files.

from brackets-display-shortcuts.

redmunds avatar redmunds commented on July 17, 2024

for what can i use the action "Copy to document"?

I added that to make it easy to create documentation in HTML format with all the info of all of the shortcuts. Try this:

  1. File > New to create a new file
  2. Click "Copy to Current Document"

At that point, you can edit, copy, and paste as needed.

It took me quite long to actually figure out that they can easily be added in the settings files. This part isn't really proper documented i must say.

It's not documented directly, but if you right-click on any row and click "Override Shortcut for Command", it opens the keymap.json file, and even creates an entry with the Command name for you.

from brackets-display-shortcuts.

schroef avatar schroef commented on July 17, 2024

I find that keymap.json file weird. Im not sure what im doing wrong. But it keeps saying its not a proper json file.

Ive once set it but when i add something i keep getting the error. I now erased all data and copy pasted the base from the page and still keeps bugging. I looked at this page

{
    "overrides": {
        "<key>": "<command-id>"
        [, "<key>": "<command-id>"]
    }
}

PS did you change the shortcut for show shortcuts? now its cmd+shift+~ on OSX

from brackets-display-shortcuts.

schroef avatar schroef commented on July 17, 2024

Weird thing is the shortcut doesnt do anything now? Not sure what happened there. I thought that it was change to Shift+cmd+~ but that is Toggle Panels. Though it does show then, ctrl+alt+/ doesnt do anything now.

I do see this in the dev tools. Seems like it still wants to add cmd+shft+/

PS i tried adding =="darwin" instead of mac, but didnt seem to help

screen shot 2018-10-08 at 23 34 27

from brackets-display-shortcuts.

schroef avatar schroef commented on July 17, 2024

Okay this one will work on mac Alt-Cmd-`

from brackets-display-shortcuts.

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.