Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frama-c
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pub
frama-c
Commits
1e44aaed
Commit
1e44aaed
authored
4 years ago
by
Loïc Correnson
Browse files
Options
Downloads
Patches
Plain Diff
[ivette] minor emacs fix
parent
ff055d4e
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
ivette/README.md
+20
-5
20 additions, 5 deletions
ivette/README.md
ivette/jsdoc.json
+0
-21
0 additions, 21 deletions
ivette/jsdoc.json
ivette/share/typescript-config.el
+1
-0
1 addition, 0 deletions
ivette/share/typescript-config.el
with
21 additions
and
26 deletions
ivette/README.md
+
20
−
5
View file @
1e44aaed
...
@@ -18,16 +18,31 @@ From the `./ivette` sub-directory of Frama-C main directory:
...
@@ -18,16 +18,31 @@ From the `./ivette` sub-directory of Frama-C main directory:
$ make app
$ make app
```
```
## Typescript
Editor
s
## Typescript
with Emac
s
Emacs mode configuration can be setup with Typescript, Web-mode and Tide packages
Emacs mode configuration can be setup with Typescript, Web-mode and Tide packages.
which are all available with MELPA. For configuring your
`.emacs`
accordingly,
You can install them with
`M-x package-install`
:
```
M-x package-refresh-contents ;; updates your index
M-x package-install web-mode
M-x package-install typescript-mode
M-x package-install tidse
```
For configuring your
`.emacs`
accordingly,
please look at the
`share/typescript-config.el`
file.
please look at the
`share/typescript-config.el`
file.
This
setup the Tide package to work with
It
setup the Tide package to work with
`typescript-mode`
for
`*.ts`
files (see also
`tsfmt.json`
config file)
`typescript-mode`
for
`*.ts`
files (see also
`tsfmt.json`
config file)
and
`web-mode`
for
`*.tsx`
files.
and
`web-mode`
for
`*.tsx`
files.
VS-Code is also known to work out of the box.
Usefull commands:
```
M-. goto definition
M-, back to previous point
M-x tide-documentation-at-point
M-x tide-error-at-point
```
## Coding Guidelines
## Coding Guidelines
...
...
This diff is collapsed.
Click to expand it.
ivette/jsdoc.json
deleted
100644 → 0
+
0
−
21
View file @
ff055d4e
{
"source"
:
{
"include"
:
[
"src/dome/doc/README.md"
,
"build"
]
},
"opts"
:
{
"recurse"
:
true
,
"tutorials"
:
"src/dome/doc/tutorials"
,
"template"
:
"src/dome/doc/template"
},
"plugins"
:
[
"plugins/markdown"
],
"templates"
:
{
"default"
:
{
"useLongnameInNav"
:
true
,
"outputSourceFiles"
:
false
,
"includeDate"
:
false
}
}
}
This diff is collapsed.
Click to expand it.
ivette/share/typescript-config.el
+
1
−
0
View file @
1e44aaed
...
@@ -19,6 +19,7 @@
...
@@ -19,6 +19,7 @@
(
defun
setup-txs-mode
()
(
defun
setup-txs-mode
()
(
interactive
)
(
interactive
)
(
when
(
string-equal
"tsx"
(
file-name-extension
buffer-file-name
))
(
when
(
string-equal
"tsx"
(
file-name-extension
buffer-file-name
))
(
setq
web-mode-enable-auto-quoting
nil
)
(
setup-tide-mode
)))
(
setup-tide-mode
)))
;; aligns annotation to the right hand side
;; aligns annotation to the right hand side
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment