Skip to content

enum values in "autocomplete" #111

@dragokas

Description

@dragokas

Named enums are finally work again in SM v.1.11.

Is it possible to add listing of enum values in "Intellisense & Autocomplete" window whenever we're entering "=" ?

#pragma semicolon 1
#pragma newdecls required

#include <sourcemod>

enum SET_ACTION
{
	SET_ACTION_NONE,
	SET_ACTION_CREATE,
	SET_ACTION_MODIFY
}

public void OnPluginStart()
{
	SET_ACTION act;
	act = 
}

Much thanks.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions