Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
C
cheat-sh-sublime-plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Gaurav Kukreja
cheat-sh-sublime-plugin
Commits
bf6dbbc1
Commit
bf6dbbc1
authored
Jul 18, 2018
by
Gaurav Kukreja
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enabling comments by default. Need to add a mechanism to remove comments later
parent
93b928f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
CheatSheet.py
CheatSheet.py
+1
-1
No files found.
CheatSheet.py
View file @
bf6dbbc1
...
...
@@ -8,7 +8,7 @@ extension_language_dict = {".py" : "python",".cpp" : "cpp",".c" : "c",".sh" : "b
syntaxFile_language_dict
=
{
"Packages/Python/Python.sublime-syntax"
:
"python"
}
def
getAnswer
(
language
,
query
,
recommendationNum
=
0
,
withComments
=
Fals
e
):
def
getAnswer
(
language
,
query
,
recommendationNum
=
0
,
withComments
=
Tru
e
):
recommendationStr
=
""
if
(
recommendationNum
>
0
):
recommendationStr
=
'/'
+
str
(
recommendationNum
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment