Author Topic: Python issues in macOS  (Read 185 times)

jorick

  • Senior Community Member
  • Posts: 398
  • Hero Points: 17
Python issues in macOS
« on: June 07, 2024, 03:29:42 PM »
Options->Languages->Scripting Languages->Python->Formatting->(Edit)->Indent->Function call indent style = Continuation Indent

This setting is ignored and instead uses Align on Parens.

Options->Languages->Scripting Languages->Python->Comment->Documentation comments

Any way to enable this block?

Options->Languages->Scripting Languages->Python->Comment Wrap

This would be nice to have, like C/C++.  Working with comments in Python is a nightmare.  When typing a comment starting with # and I hit the end of the line, the cursor starts a new line but doesn't add a #.  If I'm typing in the middle of a multi-line comment and the end of the comment hits the end of the line, it will start moving the words at the end of the line to the beginning of the next line but before the #.

SlickEdit Pro 2023 (v28.0.2.0)

Serial number: [redacted]
Licensed number of users: Single user
License file: /Library/Application Support/SlickEdit/28/slickedit.lic

Build Date: April 4, 2024   (State file: April 26, 2024)
Emulation: CodeWright

OS: macOS Sonoma
OS Version: 14.5.0
Processor Architecture: Apple M3 Max (16 cores)

Memory: 95% Load, 62618MB/65536MB Virtual
Shell Information: /bin/bash -i
Screen Size: 1920 x 1080 (0 0), 1728 x 1117 (1920 0), 1920 x 1080 (-1920 0)

Project Type: Python
Language: .py (Python)
Encoding: UTF-8, no signature

Installation Directory: /Applications/SlickEditPro2023.app/Contents/
Configuration Directory: /Users/Richard-Bennet/Library/Application Support/SlickEdit/28.0.2/
Spill File: /tmp/slkspill.Richard-Bennet.95005

Hotfixes:
/Users/Richard-Bennet/Library/Application Support/SlickEdit/28.0.2/hotfixes/hotfix_se2802_7_cumulative.zip Revision: 7   (currently loaded)





Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Python issues in macOS
« Reply #1 on: June 07, 2024, 04:26:43 PM »
Function call indent style=Continuation Indent-- Smart indenting bug. we will add a hot fix for this.

Doxygen comment support for Python would be nice using triple quoted strings.

Clark

  • SlickEdit Team Member
  • Senior Community Member
  • *
  • Posts: 6919
  • Hero Points: 531
Re: Python issues in macOS
« Reply #2 on: June 07, 2024, 05:19:05 PM »
A hot fix is available for this.

Download the hot fix here:

https://www.slickedit.com/hotfixes

Then load the hot fix: Help>Product Updates>Load Hot Fix...