-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Onboarding with tutorial [Mac] #869
Comments
Thank you very much @htzh for reporting these problems. This is very helpful to improve Lambdapi. Perhaps @firewall2142 could provide some workaround for problem 3. In Emacs, it is possible to redefine shortcuts. I am not sure how to do it in VSCode. |
I installed from opam and the version is 2.2.0. I experimented a little more in |
I'm not sure if this is still an issue, but there are two workarounds i've found. First, Macos uses the the Ctrl- keys for "Mission Control", so one option is to go into System Settings/Keyboard, go to the Keyboard Shortcuts and either turn off or remap the various commands. The second option is to change the keyboard shortcuts within VSCode (⌘K ⌘S gets you to the shortcuts). For example, I switched them to Option-h for ^←, Option-j for ^↓, etc to match the VI navigation keys. |
Thanks @mikemull . Indeed, concerning 3, one solution is to remap shortcuts to keys that are less commonly used both in Linux and in MacOS. @Alidra something to discuss at Fontainebleau on Thursday or Friday. |
@fblanqui I did not experience the problem in item (1). The only remaining issue i'm having with the vscode extension is that the editor window loses the focus after each command. I hope to debug that this week to see if it's a general issue or just a problem with my setup. |
Hi @mikemull. There is indeed an issue with the Vscode extension making the Goal panel to loose focus. |
Regarding 3, What already seems to work by default are the following shortcuts : |
This PR Modifies the README.md of the Vscode extension to document the shortcuts of Lambdapi extension in Mac OS X as discussed in #869
I tried to follow the tutorial after
opam install
on a Mac. I have observed the following problems:In
vscode
LSP server would not start until I created the lib_root directory in my opam switch. The plugin did attempt tomkdir
so it is possibly a permission issue.Tutorial refers to(Just realized thattests.OK.logic
. I resolved the issue by cloning the project and copying the tests package to the lib_root directory.tutorial.lp
is part oftests.OK
.)On Mac "Ctrl [Arrows]" don't work and there appear no other ways to interact with proof/goals in
vscode
. I believe the key combinations are captured by the system. E.g.Ctrl-Right-Arrow
andCtrl-Left-Arrow
move between system windows.I understand these are likely not your priorities so I am just reporting them in case it would help.
The text was updated successfully, but these errors were encountered: