Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
Jodus-Melodus committed Jul 29, 2024
1 parent 4d0db78 commit 54ff7ce
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion phIDE.py
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,7 @@ def bind_keys(self) -> None:
# Double Character Sequence
self.bind("<Control-F4>", self.close_file)
self.bind("<Control-BackSpace>", self.backspace_entire_word)
self.bind("<Control-Space>", self.show_intelli_sense)
self.bind("<Control-space>", self.show_intelli_sense)
self.bind("<Control-Tab>", self.next_tab)
self.bind("<Control-/>", self.comment_line)
self.bind("<Control-;>", self.show_snippets)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

setup(
name="phIDE",
version="1.7.8",
version="1.8.0",
description="phi IDE",
executables=[exe],
options={
Expand Down
22 changes: 11 additions & 11 deletions snippets/phi.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"fn":"fn name(parameters) {\n\tbody\n}",
"if":"if (condition) {\n\tbody\n}",
"ifElse":"if (condition) {\n\tbody\n} else {\n\tbody\n}",
"while":"while (condition) {\n\tbody\n}",
"whileElse":"while (condition) {\n\tbody\n} else {\n\tbody\n}",
"do":"do {\n\tbody\n} while (condition)",
"for":"for (int i = 0, i < value, i += 1){\n\tbody\n}",
"for-each":"for each (int i in value){\n\tbody\n}",
"try":"try {\n\tbody\n} catch (error) {\n\tbody\n}",
"match":"match value {\n\tcase value {body}\n}",
"module":"export obj moduleName = {\n\tbody\n}"
"fn": "fn name(parameters) {\n\tbody\n}",
"if": "if (condition) {\n\tbody\n}",
"ifElse": "if (condition) {\n\tbody\n} else {\n\tbody\n}",
"while": "while (condition) {\n\tbody\n}",
"whileElse": "while (condition) {\n\tbody\n} else {\n\tbody\n}",
"do": "do {\n\tbody\n} while (condition)",
"for": "for (int i = 0, i < value, i += 1) {\n\tbody\n}",
"for-each": "for each (int i in value) {\n\tbody\n}",
"try": "try {\n\tbody\n} catch (error) {\n\tbody\n}",
"match": "match value {\n\tcase value {body}\n}",
"module": "export obj moduleName = {\n\tbody\n}"
}

0 comments on commit 54ff7ce

Please sign in to comment.