SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Features and/or Improvements => Topic started by: jporkkahtc on April 10, 2017, 11:10:00 pm

Title: Make "defs" show global code
Post by: jporkkahtc on April 10, 2017, 11:10:00 pm
In script files, like bash or python, code can be at global scope.
Worse is this code can be scattered around anywhere -- like inbetween class and function definitions.

The only way to make it visible in "defs", is to show statements.
But then, defs is way too cluttered.

Showing such code as "unnamed" functions would be pretty useful.

Code: [Select]
import sys

def f1():
    pass

print("Hello")

def f2():
    pass

print("goodbye")

def f3():
    pass