Skip to content
Snippets Groups Projects
Commit 81f30213 authored by Pierre Balaye's avatar Pierre Balaye
Browse files

config from japanase lsp ess spacemacs contributor. Want vterm now

parent b23c1c10
Branches
No related tags found
No related merge requests found
Showing
with 1373 additions and 44 deletions
...@@ -17,6 +17,16 @@ ...@@ -17,6 +17,16 @@
(dired :location local) (dired :location local)
(pdfs :location local) (pdfs :location local)
(stats :location local) (stats :location local)
;; Not sorted
(auto-completion :variables
auto-completion-enable-snippets-in-popup t
auto-completion-enable-help-tooltip t
auto-completion-enable-sort-by-usage t
)
syntax-checking
) )
) )
(setq-default (setq-default
...@@ -29,13 +39,15 @@ ...@@ -29,13 +39,15 @@
(defun dotspacemacs/init () (defun dotspacemacs/init ()
(setq-default (setq-default
dotspacemacs-editing-style 'hybrid dotspacemacs-editing-style 'hybrid
dotspacemacs-startup-banner 100 dotspacemacs-startup-banner nil
dotspacemacs-startup-lists '( dotspacemacs-startup-lists '(
(agenda . 10) (agenda . 10)
(todos . 20) (todos . 20)
(projects . 5) (projects . 5)
(recents . 10) (recents . 10)
) )
dotspacemacs-mode-line-theme '(doom
:separator nil)
dotspacemacs-themes '(spacemacs-dark dotspacemacs-themes '(spacemacs-dark
spacemacs-light) spacemacs-light)
dotspacemacs-default-font '("Source Code Pro" dotspacemacs-default-font '("Source Code Pro"
...@@ -58,7 +70,8 @@ ...@@ -58,7 +70,8 @@
dotspacemacs-line-numbers 'visual dotspacemacs-line-numbers 'visual
dotspacemacs-search-tools '("ag" "rg" "pt" "ack" "grep") dotspacemacs-search-tools '("ag" "rg" "pt" "ack" "grep")
dotspacemacs-whitespace-cleanup 'all dotspacemacs-whitespace-cleanup 'all
dotspacemacs-pretty-docs t) dotspacemacs-pretty-docs t
)
) )
(defun dotspacemacs/user-config () (defun dotspacemacs/user-config ()
......
# ---------------------------------------------------------------------------
# Spacemacs environment variables
# ---------------------------------------------------------------------------
# This file has been generated by Spacemacs. It contains all environment
# variables defined in your default shell except those with names matching
# regexps in `spacemacs-ignored-environment-variables'. If you add any
# duplicate settings for a variable, only the first setting is effective.
# PATH is a special case: all PATH settings are read, each non-duplicate
# directory entry is appended to the `exec-path' variable, and then PATH is
# set to the final value of `exec-path'.
#
# You can safely edit this file to change values or add or remove entries.
# Spacemacs won't overwrite the file unless you call the function
# `spacemacs/force-init-spacemacs-env'.
#
# If you don't want to use this file but would rather manage your environment
# variables yourself, remove the call to `spacemacs/load-spacemacs-env' from
# the `dotspacemacs/user-env' function in your dotfile and replace it with
# your own initialization code. You can use `exec-path-from-shell' if you add
# it to your additional packages, or simply use `setenv' and
# `(add-to-list 'exec-path ...)', which are built-in.
#
# It is recommended to use this file as it unambiguously and explicitly sets
# the values of your environment variables.
# ---------------------------------------------------------------------------
# Environment variables:
# ----------------------
CINNAMON_VERSION=4.4.8
COLORTERM=truecolor
DEFAULTS_PATH=/usr/share/gconf/cinnamon.default.path
DESKTOP_SESSION=cinnamon
DISPLAY=:0
GDMSESSION=cinnamon
GDM_LANG=en_US
GIO_LAUNCHED_DESKTOP_FILE=/usr/share/applications/terminator.desktop
GIO_LAUNCHED_DESKTOP_FILE_PID=19853
GJS_DEBUG_OUTPUT=stderr
GJS_DEBUG_TOPICS=JS ERROR;JS LOG
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GTK_MODULES=gail:atk-bridge
GTK_OVERLAY_SCROLLING=1
HOME=/home/ulys
LANG=en_US.UTF-8
LANGUAGE=en_US
LC_ADDRESS=fr_FR.UTF-8
LC_IDENTIFICATION=fr_FR.UTF-8
LC_MEASUREMENT=fr_FR.UTF-8
LC_MONETARY=fr_FR.UTF-8
LC_NAME=fr_FR.UTF-8
LC_NUMERIC=fr_FR.UTF-8
LC_PAPER=fr_FR.UTF-8
LC_TELEPHONE=fr_FR.UTF-8
LESS=-R
LOGNAME=ulys
LSCOLORS=Gxfxcxdxbxegedabagacad
LS_COLORS=rs=0:di=01;34:ln=01;36:mh=00:pi=40;33:so=01;35:do=01;35:bd=40;33;01:cd=40;33;01:or=40;31;01:mi=00:su=37;41:sg=30;43:ca=30;41:tw=30;42:ow=34;42:st=37;44:ex=01;32:*.tar=01;31:*.tgz=01;31:*.arc=01;31:*.arj=01;31:*.taz=01;31:*.lha=01;31:*.lz4=01;31:*.lzh=01;31:*.lzma=01;31:*.tlz=01;31:*.txz=01;31:*.tzo=01;31:*.t7z=01;31:*.zip=01;31:*.z=01;31:*.Z=01;31:*.dz=01;31:*.gz=01;31:*.lrz=01;31:*.lz=01;31:*.lzo=01;31:*.xz=01;31:*.zst=01;31:*.tzst=01;31:*.bz2=01;31:*.bz=01;31:*.tbz=01;31:*.tbz2=01;31:*.tz=01;31:*.deb=01;31:*.rpm=01;31:*.jar=01;31:*.war=01;31:*.ear=01;31:*.sar=01;31:*.rar=01;31:*.alz=01;31:*.ace=01;31:*.zoo=01;31:*.cpio=01;31:*.7z=01;31:*.rz=01;31:*.cab=01;31:*.wim=01;31:*.swm=01;31:*.dwm=01;31:*.esd=01;31:*.jpg=01;35:*.jpeg=01;35:*.mjpg=01;35:*.mjpeg=01;35:*.gif=01;35:*.bmp=01;35:*.pbm=01;35:*.pgm=01;35:*.ppm=01;35:*.tga=01;35:*.xbm=01;35:*.xpm=01;35:*.tif=01;35:*.tiff=01;35:*.png=01;35:*.svg=01;35:*.svgz=01;35:*.mng=01;35:*.pcx=01;35:*.mov=01;35:*.mpg=01;35:*.mpeg=01;35:*.m2v=01;35:*.mkv=01;35:*.webm=01;35:*.ogm=01;35:*.mp4=01;35:*.m4v=01;35:*.mp4v=01;35:*.vob=01;35:*.qt=01;35:*.nuv=01;35:*.wmv=01;35:*.asf=01;35:*.rm=01;35:*.rmvb=01;35:*.flc=01;35:*.avi=01;35:*.fli=01;35:*.flv=01;35:*.gl=01;35:*.dl=01;35:*.xcf=01;35:*.xwd=01;35:*.yuv=01;35:*.cgm=01;35:*.emf=01;35:*.ogv=01;35:*.ogx=01;35:*.aac=00;36:*.au=00;36:*.flac=00;36:*.m4a=00;36:*.mid=00;36:*.midi=00;36:*.mka=00;36:*.mp3=00;36:*.mpc=00;36:*.ogg=00;36:*.ra=00;36:*.wav=00;36:*.oga=00;36:*.opus=00;36:*.spx=00;36:*.xspf=00;36:
MANDATORY_PATH=/usr/share/gconf/cinnamon.mandatory.path
OLDPWD=/home/ulys
PAGER=less
PATH=~/bin:/home/ulys/bin:/usr/local/bin:~/bin:/home/ulys/bin:/usr/local/bin:~/bin:/home/ulys/bin:/usr/local/bin:/home/ulys/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PATH=~/bin:/home/ulys/bin:/usr/local/bin:~/bin:/home/ulys/bin:/usr/local/bin:/home/ulys/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
PWD=/home/ulys
QT_ACCESSIBILITY=1
QT_QPA_PLATFORMTHEME=qt5ct
SESSION_MANAGER=local/ITAK:@/tmp/.ICE-unix/1453,unix/ITAK:/tmp/.ICE-unix/1453
SHELL=/bin/zsh
SHLVL=2
SPACEMACSDIR=~/emacs/configs/spacemacs-pietrodito
TERM=screen
TERMINATOR_DBUS_NAME=net.tenshu.Terminator20x1a6021154d881c
TERMINATOR_DBUS_PATH=/net/tenshu/Terminator2
TERMINATOR_UUID=urn:uuid:512badb6-eb7e-4b2b-8411-db08e29353b3
TMUX=/tmp/tmux-1000/default,19964,0
TMUX_PANE=%0
USER=ulys
VTE_VERSION=5202
XAUTHORITY=/home/ulys/.Xauthority
XDG_CONFIG_DIRS=/etc/xdg/xdg-cinnamon:/etc/xdg
XDG_CURRENT_DESKTOP=X-Cinnamon
XDG_DATA_DIRS=/usr/share/cinnamon:/usr/share/gnome:/home/ulys/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share:/usr/share:/var/lib/snapd/desktop
XDG_GREETER_DATA_DIR=/var/lib/lightdm-data/ulys
XDG_RUNTIME_DIR=/run/user/1000
XDG_SEAT=seat0
XDG_SEAT_PATH=/org/freedesktop/DisplayManager/Seat0
XDG_SESSION_DESKTOP=cinnamon
XDG_SESSION_ID=c2
XDG_SESSION_PATH=/org/freedesktop/DisplayManager/Session0
XDG_SESSION_TYPE=x11
XDG_VTNR=7
ZSH=/home/ulys/.oh-my-zsh
_=/usr/bin/env
;; -*- mode: emacs-lisp; lexical-binding: t -*-
(defun dotspacemacs/layers ()
(setq-default
dotspacemacs-distribution 'spacemacs
dotspacemacs-enable-lazy-installation nil
dotspacemacs-ask-for-lazy-installation t
dotspacemacs-configuration-layer-path (list
(concat user-emacs-directory
"../../layers/")))
(setq-default
;; List of configuration layers to load.
dotspacemacs-configuration-layers
'(
(general :location local)
;; (smartparens :location local)
;; (dired :location local)
;; (pdfs :location local)
;; (stats :location local)
)
)
(setq-default
dotspacemacs-additional-packages '()
dotspacemacs-frozen-packages '()
dotspacemacs-excluded-packages '()
dotspacemacs-install-packages 'used-but-keep-unused)
)
(defun dotspacemacs/init ()
(setq-default
dotspacemacs-editing-style 'hybrid
dotspacemacs-startup-banner 100
dotspacemacs-startup-lists '(
(agenda . 10)
(todos . 20)
(projects . 5)
(recents . 10)
)
dotspacemacs-themes '(spacemacs-dark
spacemacs-light)
dotspacemacs-default-font '("Source Code Pro"
:size 13.0
:weight normal
:width normal)
dotspacemacs-leader-key "SPC"
dotspacemacs-emacs-command-key "SPC"
dotspacemacs-emacs-leader-key "M-m"
dotspacemacs-major-mode-emacs-leader-key (if window-system "<M-return>" "C-M-m")
dotspacemacs-default-layout-name "TODO"
dotspacemacs-display-default-layout t
dotspacemacs-auto-resume-layouts t
dotspacemacs-auto-generate-layout-names t
dotspacemacs-auto-save-file-location 'original
dotspacemacs-enable-paste-transient-state t
dotspacemacs-fullscreen-at-startup t
dotspacemacs-mode-line-unicode-symbols nil
dotspacemacs-line-numbers 'visual
dotspacemacs-search-tools '("ag" "rg" "pt" "ack" "grep")
dotspacemacs-whitespace-cleanup 'all
dotspacemacs-pretty-docs t)
)
(defun dotspacemacs/user-config ()
(spacemacs/toggle-centered-point-globally-on)
)
;; Do not write anything past this comment. This is where Emacs will
;; auto-generate custom variable definitions.
/.spacemacs.env
#+TITLE: spacemacs.d
* Manual Installation
#+BEGIN_SRC sh
git clone git@github.com:sei40kr/spacemacs.d.git ~/.spacemacs.d
#+END_SRC
;; -*- lexical-binding: t -*-
(defvar custom--dash-docsets
'(
((c-mode-hook) . ("C" "Man_Pages"))
((c++-mode-hook) . ("C++" "C" "Boost" "Man_Pages"))
((cmake-mode-hook) . ("CMake"))
((rust-mode-hook) . ("Rust"))
((go-mode-hook) . ("Go"))
((haskell-mode-hook) . ("Haskell"))
((java-mode-hook) . ("Java_SE11" "Spring_Framework" "Play_Java" "Java_EE8"))
((scala-mode-hook) . ("Scala" "Akka" "Play_Scala"))
((python-mode-hook) . ("Python_3" "Python_2" "Django" "Flask" "MatPlotLib" "NumPy" "Pandas"))
((ruby-mode-hook enh-ruby-mode-hook) . ("Ruby" "Ruby_on_Rails_5"))
((cperl-mode-hook) . ("Perl"))
((html-mode-hook) . ("HTML" "Bootstrap_4" "Semantic_UI" "Foundation"))
((css-mode-hook) . ("CSS"))
((less-css-mode-hook) . ("Less" "CSS"))
((sass-mode-hook) . ("Sass" "CSS"))
((js2-mode-hook) . ("JavaScript" "jQuery" "MomentJS" "Lo-Dash"))
((rjsx-mode-hook) . ("JavaScript" "React" "AngularJS" "VueJS" "MomentJS" "Lo-Dash" "HTML"))
((typescript-mode-hook) . ("TypeScript" "jQuery" "MomentJS" "Lo-Dash"))
((typescript-tsx-mode-hook) . ("TypeScript" "React" "AngularJS" "VueJS" "MomentJS" "Lo-Dash" "HTML"))
((sql-mode-hook) . ("MySQL" "PostgreSQL" "SQLite"))
))
(defun custom/docsets-init ()
(dolist (hooks-and-docsets custom--dash-docsets)
(let* ((hooks (car hooks-and-docsets))
(docsets (cdr hooks-and-docsets)))
(spacemacs/add-to-hooks #'(lambda ()
(setq-local helm-dash-docsets docsets))
hooks))))
;; -*- lexical-binding: t -*-
(defun custom/elfeed-init ()
(setq elfeed-feeds '(
"https://hackernoon.com/feed"
)
elfeed-goodies/powerline-default-separator nil))
;; -*- lexical-binding: t -*-
(defun custom/evil-init ()
(setq evil-want-C-i-jump t
evil-want-C-u-scroll t
evil-want-Y-yank-to-eol t
evil-escape-key-sequence "jk"
;; hybrid-mode
hybrid-style-use-evil-search-module t))
(defun custom/evil-config ()
(global-set-key (kbd "C-h") #'delete-backward-char)
(global-set-key (kbd "C-w") #'backword-kill-word)
(evil-global-set-key 'normal (kbd "C-s") #'save-buffer)
(with-eval-after-load 'clean-aindent-mode
(bind-key (kbd "C-w") #'clean-aindent--bsunindent))
(with-eval-after-load 'evil-ex
(bind-key (kbd "C-h") #'evil-ex-delete-backward-char evil-ex-search-keymap))
(with-eval-after-load 'company
(bind-key (kbd "C-h") nil company-active-map)
(bind-key (kbd "C-w") nil company-active-map))
(with-eval-after-load 'helm
(bind-key (kbd "C-w") #'backward-kill-word helm-map))
(with-eval-after-load 'projectile
(evil-define-key 'normal projectile-mode-map
(kbd "C-p") #'helm-projectile-find-file))
(with-eval-after-load 'elisp-mode
(bind-key (kbd "C-h") #'backward-delete-char-untabify emacs-lisp-mode-map))
(with-eval-after-load 'org-mode
(bind-key (kbd "C-h") #'org-delete-backward-char org-mode-map))
(with-eval-after-load 'vterm
(bind-key (kbd "C-h") #'vterm--self-insert vterm-mode-map))
;; evil-mc
(defun custom/evil-escape-everything ()
(interactive)
(spacemacs/evil-search-clear-highlight)
(when (and (bound-and-true-p evil-mc-mode)
(not (eq evil-state 'operator)))
(evil-mc-undo-all-cursors)))
(with-eval-after-load 'evil-core
(evil-global-set-key 'normal
(kbd "<escape>") #'custom/evil-escape-everything))
;; which-key
(with-eval-after-load 'which-key
(which-key-define-key-recursively global-map (kbd "<escape>") #'ignore)
(which-key-define-key-recursively evil-emacs-state-map
(kbd "<escape>") #'ignore))
(spacemacs/toggle-camel-case-motion-globally-on))
;; -*- lexical-binding: t -*-
(defvar custom--file-templates
'(
(c-mode . "template.c")
(c++-mode . "template.cpp")
(crystal-mode . "template.cr")
(css-mode . "template.css")
(scss-mode . "template.scss")
(dockerfile-mode . "_Dockerfile")
(editorconfig-conf-mode . "_editorconfig")
("_test\\.go\\'" . "template_test.go")
(go-mode . "template.go")
(haskell-mode . "template.hs")
(java-mode . "template.java")
(kotlin-mode . "template.kt")
(perl-mode . "perl5-template.pl")
(cperl-mode . "perl5-template.pl")
("/setup\\.py\\'" . "_setup.py")
(python-mode . "template.py")
("/\\.flake8\\'" . "_flake8")
(ruby-mode . "template.rb")
(enh-ruby-mode . "template.rb")
(rust-mode . "template.rs")
(scala-mode . "template.scala")
("\\.bash\\'" . "template.bash")
("\\.zsh\\'" . "template.zsh")
(sh-mode . "template.sh")
(fish-mode . "template.fish")
("/docker-compose\\.yml\\'" . "docker-compose.yml")
("\\-service\\.ya?ml\\'" . "kubernetes-service.yml")
("\\-volumeclaim\\.ya?ml\\'" . "kubernetes-volumeclaim.yml")
("/ecs-params\\.yml\\'" . "ecs-params.yml")
("/\\.travis\\.ya?ml\\'" . "_travis.yml")
(yaml-mode . "template.yml")
))
(defun yatemplate-expand-yas-buffer ()
"Expand the whole buffer with `yas-expand-snippet'."
(require 'yasnippet)
(let ((yas-indent-line 'fixed))
(yas-expand-snippet (buffer-string) (point-min) (point-max))))
(defun custom//file-template-auto-insert-alist ()
(mapcar #'(lambda (mode-and-file-name)
(let* ((mode (car mode-and-file-name))
(file-name (cdr mode-and-file-name)))
(cons mode
(vector (concat dotspacemacs-directory "templates/" file-name)
#'yatemplate-expand-yas-buffer))))
custom--file-templates))
(defun custom/file-template-config ()
(setq auto-insert-query nil
auto-insert-alist (custom//file-template-auto-insert-alist))
(auto-insert-mode 1))
;; -*- lexical-binding: t -*-
(defvar custom--flycheck-disabled-checkers
'(
((go-mode-hook) . (gometalinter go-gofmt go-test go-megacheck))
((js2-mode-hook rjsx-mode-hook) . (javascript-jshint javascript-standard))
((rust-mode-hook) . (rust-cargo))
))
(defun custom/flycheck-init ()
(setq flycheck-check-syntax-automatically '(save mode-enabled)
flycheck-display-errors-delay 0.3
;; flycheck-pos-tip
tooltip-delay 0.3
tooltip-hide-delay 999
tooltip-short-delay 0.1
flycheck-pos-tip-timeout 999
flycheck-pos-tip-display-errors-tty-function #'flycheck-popup-tip-show-popup
;; flycheck-popup-tip
flycheck-popup-tip-error-prefix "* ")
(when (not (display-graphic-p))
(with-eval-after-load 'flycheck
(require 'flycheck-popup-tip)))
(dolist (hooks-and-checkers custom--flycheck-disabled-checkers)
(let* ((hooks (car hooks-and-checkers))
(checkers (cdr hooks-and-checkers)))
(spacemacs/add-to-hooks
#'(lambda ()
(require 'flycheck)
(dolist (checker checkers)
(add-to-list 'flycheck-disabled-checkers checker)))
hooks)))
(add-hook 'python-mode-hook
#'(lambda ()
(when (eq (spacemacs//python-backend) 'lsp)
(require 'flycheck)
(add-to-list 'flycheck-disabled-checkers 'python-mypy)))))
(defun my/file-class-name ()
(file-name-nondirectory (file-name-sans-extension (buffer-file-name))))
(defun my/java-package ()
(mapconcat 'identity (split-string
(replace-regexp-in-string
".*src\\(/\\(main\\|test\\)\\)?\\(/java\\|/scala\\)?"
""
default-directory)
"/"
t)
"."))
This diff is collapsed.
File added
;; -*- lexical-binding: t -*-
(defun custom/neotree-config ()
(setq neo-theme (if (display-graphic-p) 'icons 'ascii)
neo-mode-line-type 'none
neo-autorefresh t
neo-confirm-create-directory #'off-p
neo-confirm-create-file #'off-p
neo-confirm-delete-directory-recursively #'off-p
neo-confirm-delete-file #'y-or-n-p
neo-confirm-kill-buffers-for-files-in-directory #'off-p))
;; -*- lexical-binding: t -*-
(defun custom//magit-repos-to-projectile-projects ()
(require 'magit-repos)
(setq projectile-known-projects
(append
(mapcar #'abbreviate-file-name (magit-list-repos))
'("/ssh:dmz.yong-ju.me:~/my-cloud"))))
(defun custom/projectile-init ()
(setq projectile-git-submodule-command nil)
(with-eval-after-load 'projectile
(setq projectile-switch-project-action #'projectile-dired))
(advice-add 'projectile-load-known-projects
:override #'custom//magit-repos-to-projectile-projects)
(advice-add 'projectile-remove-known-project
:override #'(lambda (&optional project)))
(advice-add 'projectile-add-known-projects
:override #'(lambda (project-root)))
(dolist (func '(projectile-cleanup-known-projects
projectile-clear-known-projects
projectile-save-known-projects
projectile-merge-known-projects))
(advice-add func
:override #'(lambda ())))
(dolist (func '(helm-projectile-switch-project
spacemacs/helm-persp-switch-project))
(advice-add func
:before #'(lambda (_)
(custom//magit-repos-to-projectile-projects)))))
# Created by https://www.gitignore.io/api/scala
# Edit at https://www.gitignore.io/?templates=scala
### Scala ###
*.class
*.log
# End of https://www.gitignore.io/api/scala
// The simplest possible sbt build file is just one line:
scalaVersion := "2.13.1"
// That is, to create a valid sbt build, all you've got to do is define the
// version of Scala you'd like your project to use.
// ============================================================================
// Lines like the above defining `scalaVersion` are called "settings". Settings
// are key/value pairs. In the case of `scalaVersion`, the key is "scalaVersion"
// and the value is "2.13.1"
// It's possible to define many kinds of settings, such as:
name := "scala-sample-resource"
organization := "me.yong_ju.scala"
version := "1.0"
// Note, it's not required for you to define these three settings. These are
// mostly only necessary if you intend to publish your library's binaries on a
// place like Sonatype or Bintray.
// Want to use a published library in your project?
// You can define other libraries as dependencies in your build like this:
libraryDependencies += "org.typelevel" %% "cats-core" % "2.0.0"
// Here, `libraryDependencies` is a set of dependencies, and by using `+=`,
// we're adding the cats dependency to the set of dependencies that sbt will go
// and fetch when it starts up.
// Now, in any Scala file, you can import classes, objects, etc., from cats with
// a regular import.
// TIP: To find the "dependency" that you need to add to the
// `libraryDependencies` set, which in the above example looks like this:
// "org.typelevel" %% "cats-core" % "2.0.0"
// You can use Scaladex, an index of all known published Scala libraries. There,
// after you find the library you want, you can just copy/paste the dependency
// information that you need into your build file. For example, on the
// typelevel/cats Scaladex page,
// https://index.scala-lang.org/typelevel/cats, you can copy/paste the sbt
// dependency from the sbt box on the right-hand side of the screen.
// IMPORTANT NOTE: while build files look _kind of_ like regular Scala, it's
// important to note that syntax in *.sbt files doesn't always behave like
// regular Scala. For example, notice in this build file that it's not required
// to put our settings into an enclosing object or class. Always remember that
// sbt is a bit different, semantically, than vanilla Scala.
// ============================================================================
// Most moderately interesting Scala projects don't make use of the very simple
// build file style (called "bare style") used in this build.sbt file. Most
// intermediate Scala projects make use of so-called "multi-project" builds. A
// multi-project build makes it possible to have different folders which sbt can
// be configured differently for. That is, you may wish to have different
// dependencies or different testing frameworks defined for different parts of
// your codebase. Multi-project builds make this possible.
// Here's a quick glimpse of what a multi-project build looks like for this
// build, with only one "subproject" defined, called `root`:
// lazy val root = (project in file(".")).
// settings(
// inThisBuild(List(
// organization := "ch.epfl.scala",
// scalaVersion := "2.13.1"
// )),
// name := "hello-world"
// )
// To learn more about multi-project builds, head over to the official sbt
// documentation at http://www.scala-sbt.org/documentation.html
sbt.version=1.3.2
object Main extends App {
println("Hello, World!")
}
# Created by https://www.gitignore.io/api/node
# Edit at https://www.gitignore.io/?templates=node
### Node ###
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript v1 declaration files
typings/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variables file
.env
.env.test
# parcel-bundler cache (https://parceljs.org/)
.cache
# next.js build output
.next
# nuxt.js build output
.nuxt
# react / gatsby
public/
# vuepress build output
.vuepress/dist
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# End of https://www.gitignore.io/api/node
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment