Fork me on GitHub
#dirac
<
2017-03-08
>
baptiste-from-paris16:03:02

hello guys, I am trying to install dirac on my macbook azerty but I am failing to launch with CTRL+, or CTRL+.

baptiste-from-paris16:03:10

is there an other way ?

darwin16:03:51

@baptiste-from-paris first try to switch keyboard layout to default english and make sure it really works

darwin16:03:04

currently the keyboard shortcuts are hard-coded: https://github.com/binaryage/dirac/blob/6b65f0ab4a636a6120757fe996329bffbdb1a560/resources/unpacked/devtools/front_end/console/ConsoleView.js#L1288 unfortunately there is no generic mechanism for redefining pre-defined keyboard shortcuts in Chrome DevTools

baptiste-from-paris16:03:21

thxm trying the to change keyboqrd

baptiste-from-paris17:03:02

does it look right ?

baptiste-from-paris17:03:07

so you have to 1) go to the console menu in devtools 2) press ctrl + ,

darwin17:03:14

no, you have to focus console prompt and instead of typing javascript expressions press CTRL+,

baptiste-from-paris17:03:55

can’t make it work but the debugger is working

darwin17:03:30

give me a screenshot of your dirac devtools window switched to “Console Panel” view

darwin17:03:46

you are not using Dirac DevTools but normal internal DevTools

darwin17:03:29

you have to click the green-ish dirac extension button

darwin17:03:35

to open a new window with dirac devtools

darwin17:03:05

please follow this readme to learn how to use dirac: https://github.com/binaryage/dirac-sample

darwin17:03:57

aha, maybe that step is not written there?

baptiste-from-paris17:03:06

thanks for your time ! , I was doing the sample project, I might have missed something

baptiste-from-paris17:03:16

let me re-read the sample project

darwin17:03:18

see "After installation, should see a new extension icon next to your address bar"

darwin17:03:33

"Please navigate there, do not open internal DevTools and click Dirac icon while on the http://localhost:9977/demo.html page."

darwin17:03:54

"It will look almost the same as internal DevTools, but you can tell the difference at first glance: active tab highlight will be green instead of blue (see the screenshots above)."

baptiste-from-paris17:03:02

ok, I am looser sorry

darwin17:03:05

that is why I wanted a screenshot

baptiste-from-paris17:03:28

missed the do not open internal DevTools ..

baptiste-from-paris17:03:44

really sorry for wasting your time and thank you

darwin17:03:16

no problem, let me know if you hit another blocker

baptiste-from-paris17:03:09

working and that’s impressive ^^

baptiste-from-paris17:03:51

so for example I am working on my front-end/om/whatever app, I can launch figwheel with one nrepl and another repl for Dirac Devtool ?

baptiste-from-paris17:03:09

that’s a crazy tool !

baptiste-from-paris17:03:58

you even have protocol it implements when you send a function

baptiste-from-paris17:03:03

@darwin I’ve read that you only use figwheel for hot realoading purpose with cursive

baptiste-from-paris17:03:32

I have to try it with react-native

darwin19:03:22

@baptiste-from-paris one REPL is enough for my needs, I picked Dirac’s 🙂

darwin19:03:12

in perfect world you would like to evolve your REPL compilation environment with incremental code changes, this works out of the box with figwheel, does not with Dirac

baptiste-from-paris19:03:37

still struggling with config to make it work with a lein template of figwheel

darwin19:03:48

but you can configure Dirac to use Figwheel’s compiler environment, that’s pretty advanced setup tough

baptiste-from-paris19:03:27

reading it right now 😉

baptiste-from-paris19:03:01

what tool did you use for diagrams on this github page ?

qqq22:03:57

@darwin: I thought you did those diagrams by hand! Less impressed by your ability to focus now.