FAQ - restaurant-ide/restaurant GitHub Wiki

Frequently Asked Questions

What does mean "M-x", "C-c" etc?

It's first letters for key-modificators:

  • "M-..." is for "Alt+..." (Meta key)
  • "C-..." is for "Control+..."
  • "s-..." is for "Winkey+..." (Super key)
  • "S-..." is for "Shift+..."
  • "C-M-..." is for "Control+Alt+..."

How to apply Key combinations

If you face expressions like: C-c h, C-x C-c etc, it means, that you should input: Control+x than h, Control+x than Control+c

How to exit from Restaurant

Restaurant is an emacs-based IDE, so, key combinations are the same, like in emacs. Exit combination is C-x C-c

How can I find keybindings for Restaurant

You can use eamcs keybindings. You can find it here or here

How to change Restaurant parameters

  • TODO:

How to change theme

  • M-x
  • type customize-themes
  • choose your favorite theme
  • press Save Theme Settings
  • close buffer (C-x k, or "cross" symbol at toolbar menu)
  • Enjoy

What possibilities/technologies/utils restaurant supports

  • ruby/chef syntax highlight
  • ruby/chef style errors check (including foodcritic)
  • ruby/chef syntax errors check
  • ruby/chef autocomplete
  • ruby/chef integrated unit testing with rspec/chefspec
  • chef cookbooks integration testing with kitchen
  • multiple ruby/gems versions and sets via rvm
  • yaml files syntax highlight
  • yaml files encoding and pretty printing
  • xml files syntax highlight
  • markdown syntax highlighting/helping
  • markdown toc autogeneration
  • markdown in-browser preview
  • git/github support (pull/diff/stage/push/etc)

I am a TRUE emacser and want to get back my C-c, C-x and C-v keybindings

  • type: M-x customize-group -> restaurant
  • go to System
  • set restaurant/familiar-copy-paste-cut to false

How to change font on my restaurant

  • Go to menu, choose Options -> Set default font
  • Set font

Flymake does not show warnings/style notes

It happens, when you still not fixed critical mistakes in your code

I am checking style errors/warnings/messages. How can I navigate through them

  • Use C-c ! n to go to next error
  • User C-c ! p to go to previous error

I want to get more with external plugins

No problem. Restaurant has 2 plugin managers: standard emacs package and el-get

  • pakcage
    • type package-list-packages to get list of plugins
    • type package-install to install plugin
  • el-get
    • type M-x -> el-get-list-packages to get list of plugins
    • type M-x -> el-get-install to install plugin
⚠️ **GitHub.com Fallback** ⚠️