tracker issue : CFB-4198408

select a category, or use search below
(searches all categories and all time range)

Code assist doesn't work in script

| View in Tracker

Status/Resolution/Reason: To Track//PRNeedInfo

Reporter/Name(from Bugbase): David Belanger / ()

Created: 07/19/2018

Components: Editor Features, Code assist

Versions: 2016

Failure Type: Non Functioning

Found In Build/Fixed In Build: 310721 /

Priority/Frequency: Normal /

Locale/System: English / Windows 10 64 bit

Vote Count: 0

FYI - CFB 2018 isn't in the tracker version list yet.

Problem Description:  I'm using Cold Fusion 2018 and in a CFC or CFM <cfscript> block, code assist doesn't work.

However, it does work in a CFM file only when using tags. 

Doesn't work for CFB 2016 either (build 302777)

Steps to Reproduce:
1) Create a CFC in script
2) Create a function
3) In the function, start typing "array" (or any other cf function) and wait.... No code assist
4) Hit CTRL+space, still no code assist but I do here the error bell

Actual Result:  No code assist suggestions

Expected Result: Code assist suggestions

Any Workarounds:  Not that I can see



@David I tried with CFB2018 GM Build, with default server and adding CF2018 external server. Unable to repro this issue. I have attached the screen-shot for reference, if you are trying anything different please let us know.
Comment by Dattanand M.
30160 | January 30, 2019 10:07:29 AM GMT
Hi Dattanand, Thank you for looking into this. Your screenshot is not attached. Well, at least not publicly. Here is a repro: <cfscript> f1 = function() { var broken = arr//auto-suggest broken } f2 = function() { broken = arr//auto-suggest broken } function f3() { var broken = arr//auto-suggest broken } function f4() { works = arr//auto-suggest works } </cfscript> I'm guessing your screenshot was similar to f4(), which is the only scenario that works. Verified in Version:3.2.0 Build:310721 on Windows 10. Thanks!, -Aaron
Comment by Aaron N.
30174 | February 01, 2019 10:04:56 AM GMT