You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-2
Original file line number
Diff line number
Diff line change
@@ -70,8 +70,10 @@ Settings are located in *Preferences* > *Package Settings* > *SublimePapyrus*.
70
70
71
71
-***intelligent_code_completion_function_event_parameters***: Determines if function/event parameters should be included in completions for function/event calls. Default: True
72
72
73
-
-***tooltip_function_parameters***: Determines if a tooltip shows up with information about the parameters of a function/event call that is being edited. Default: True
74
-
73
+
-***tooltip_function_parameters***: Determines if a tooltip shows up with information about the parameters of the function/event call that is being edited. Default: True
74
+
75
+
-***tooltip_function_docstring***: Determines if a tooltip shows up with the docstring of the function/event call that is being edited. Default: True
76
+
75
77
-***tooltip_background_color***: Hex color code of a tooltip's background. Default: #393939
76
78
77
79
-***tooltip_body_text_color***: Hex color code of a tooltip's text. Default: #747369
@@ -223,6 +225,16 @@ Single file build system and a batch build variant.
223
225
224
226
## **Changelog**
225
227
228
+
Version 2.6.0 - 2016/05/14:
229
+
230
+
**Core**
231
+
- Added a boolean setting for displaying docstrings in function/event call tooltips.
232
+
- Added a warning to the build system framework for when an import path defined in a module's settings does not actually exist on the filesystem.
233
+
234
+
**Skyrim**
235
+
- Added docstring support to classes representing scriptheaders, functions, events, and properties in the linter.
236
+
- Added support for displaying docstrings in tooltips for function/event calls.
Copy file name to clipboardExpand all lines: Source/Core/Plugin.py
+3
Original file line number
Diff line number
Diff line change
@@ -261,6 +261,9 @@ def run(self, **args):
261
261
t=filePath.lower()
262
262
ifnotall(t!=k.lower() forkinimports) andsettings.get("batch_compilation_warning", True) andnotsublime.ok_cancel_dialog("Are you sure you want to batch compile all script sources in \"%s\"?\n\nThis folder is one of the import folders and may contain script sources that are a part of the base game. Compiling said script sources could lead to unintended behavior if they have been modified."%filePath):
263
263
return
264
+
forpathinimports:
265
+
ifnotos.path.isdir(path):
266
+
returnShowMessage("The import path '%s' does not exist on the filesystem."%path)
264
267
imports=";".join(imports)
265
268
else:
266
269
returnShowMessage("The import path(s) setting has to be a list of strings.")
0 commit comments